public UpdateActionTypeRequest withActionType(ActionTypeDeclaration actionType) {
        setActionType(actionType);
        return this;
    }
<p>
The action type definition for the action type to be updated.
</p>

@param actionType
       The action type definition for the action type to be updated.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-codepipeline/src/main/java/com/amazonaws/services/codepipeline/model/UpdateActionTypeRequest.java