public ActionDeclaration withActionTypeId(ActionTypeId actionTypeId) {
        setActionTypeId(actionTypeId);
        return this;
    }
<p>
Specifies the action type and the provider of the action.
</p>

@param actionTypeId
       Specifies the action type and the provider of the action.
@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/ActionDeclaration.java