public DeprecateActivityTypeRequest withActivityType(ActivityType activityType) {
        setActivityType(activityType);
        return this;
    }
<p>
The activity type to deprecate.
</p>

@param activityType
       The activity type to deprecate.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-simpleworkflow/src/main/java/com/amazonaws/services/simpleworkflow/model/DeprecateActivityTypeRequest.java