public class CreateCustomActionTypeRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Represents the input of a create custom action operation.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
category
The category of the custom action, such as a source action or a build
action.
|
private java.util.List<ActionConfigurationProperty> |
configurationProperties
The configuration properties for the custom action.
|
private ArtifactDetails |
inputArtifactDetails |
private ArtifactDetails |
outputArtifactDetails |
private java.lang.String |
provider
The provider of the service used in the custom action, such as AWS
CodeDeploy.
|
private ActionTypeSettings |
settings |
private java.lang.String |
version
The version number of the custom action.
|
NOOP
Constructor and Description |
---|
CreateCustomActionTypeRequest() |
Modifier and Type | Method and Description |
---|---|
CreateCustomActionTypeRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCategory()
The category of the custom action, such as a source action or a build
action.
|
java.util.List<ActionConfigurationProperty> |
getConfigurationProperties()
The configuration properties for the custom action.
|
ArtifactDetails |
getInputArtifactDetails() |
ArtifactDetails |
getOutputArtifactDetails() |
java.lang.String |
getProvider()
The provider of the service used in the custom action, such as AWS
CodeDeploy.
|
ActionTypeSettings |
getSettings() |
java.lang.String |
getVersion()
The version number of the custom action.
|
int |
hashCode() |
void |
setCategory(ActionCategory category)
The category of the custom action, such as a source action or a build
action.
|
void |
setCategory(java.lang.String category)
The category of the custom action, such as a source action or a build
action.
|
void |
setConfigurationProperties(java.util.Collection<ActionConfigurationProperty> configurationProperties)
The configuration properties for the custom action.
|
void |
setInputArtifactDetails(ArtifactDetails inputArtifactDetails) |
void |
setOutputArtifactDetails(ArtifactDetails outputArtifactDetails) |
void |
setProvider(java.lang.String provider)
The provider of the service used in the custom action, such as AWS
CodeDeploy.
|
void |
setSettings(ActionTypeSettings settings) |
void |
setVersion(java.lang.String version)
The version number of the custom action.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateCustomActionTypeRequest |
withCategory(ActionCategory category)
The category of the custom action, such as a source action or a build
action.
|
CreateCustomActionTypeRequest |
withCategory(java.lang.String category)
The category of the custom action, such as a source action or a build
action.
|
CreateCustomActionTypeRequest |
withConfigurationProperties(ActionConfigurationProperty... configurationProperties)
The configuration properties for the custom action.
|
CreateCustomActionTypeRequest |
withConfigurationProperties(java.util.Collection<ActionConfigurationProperty> configurationProperties)
The configuration properties for the custom action.
|
CreateCustomActionTypeRequest |
withInputArtifactDetails(ArtifactDetails inputArtifactDetails) |
CreateCustomActionTypeRequest |
withOutputArtifactDetails(ArtifactDetails outputArtifactDetails) |
CreateCustomActionTypeRequest |
withProvider(java.lang.String provider)
The provider of the service used in the custom action, such as AWS
CodeDeploy.
|
CreateCustomActionTypeRequest |
withSettings(ActionTypeSettings settings) |
CreateCustomActionTypeRequest |
withVersion(java.lang.String version)
The version number of the custom action.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String category
The category of the custom action, such as a source action or a build action.
private java.lang.String provider
The provider of the service used in the custom action, such as AWS CodeDeploy.
private java.lang.String version
The version number of the custom action.
private ActionTypeSettings settings
private java.util.List<ActionConfigurationProperty> configurationProperties
The configuration properties for the custom action.
private ArtifactDetails inputArtifactDetails
private ArtifactDetails outputArtifactDetails
public void setCategory(java.lang.String category)
The category of the custom action, such as a source action or a build action.
category
- The category of the custom action, such as a source action or a
build action. ActionCategory
public java.lang.String getCategory()
The category of the custom action, such as a source action or a build action.
ActionCategory
public CreateCustomActionTypeRequest withCategory(java.lang.String category)
The category of the custom action, such as a source action or a build action.
category
- The category of the custom action, such as a source action or a
build action. ActionCategory
public void setCategory(ActionCategory category)
The category of the custom action, such as a source action or a build action.
category
- The category of the custom action, such as a source action or a
build action. ActionCategory
public CreateCustomActionTypeRequest withCategory(ActionCategory category)
The category of the custom action, such as a source action or a build action.
category
- The category of the custom action, such as a source action or a
build action. ActionCategory
public void setProvider(java.lang.String provider)
The provider of the service used in the custom action, such as AWS CodeDeploy.
provider
- The provider of the service used in the custom action, such as AWS
CodeDeploy.public java.lang.String getProvider()
The provider of the service used in the custom action, such as AWS CodeDeploy.
public CreateCustomActionTypeRequest withProvider(java.lang.String provider)
The provider of the service used in the custom action, such as AWS CodeDeploy.
provider
- The provider of the service used in the custom action, such as AWS
CodeDeploy.public void setVersion(java.lang.String version)
The version number of the custom action.
version
- The version number of the custom action.public java.lang.String getVersion()
The version number of the custom action.
public CreateCustomActionTypeRequest withVersion(java.lang.String version)
The version number of the custom action.
version
- The version number of the custom action.public void setSettings(ActionTypeSettings settings)
settings
- public ActionTypeSettings getSettings()
public CreateCustomActionTypeRequest withSettings(ActionTypeSettings settings)
settings
- public java.util.List<ActionConfigurationProperty> getConfigurationProperties()
The configuration properties for the custom action.
public void setConfigurationProperties(java.util.Collection<ActionConfigurationProperty> configurationProperties)
The configuration properties for the custom action.
configurationProperties
- The configuration properties for the custom action. public CreateCustomActionTypeRequest withConfigurationProperties(ActionConfigurationProperty... configurationProperties)
The configuration properties for the custom action.
NOTE: This method appends the values to the existing list (if
any). Use setConfigurationProperties(java.util.Collection)
or
withConfigurationProperties(java.util.Collection)
if you want to
override the existing values.
configurationProperties
- The configuration properties for the custom action. public CreateCustomActionTypeRequest withConfigurationProperties(java.util.Collection<ActionConfigurationProperty> configurationProperties)
The configuration properties for the custom action.
configurationProperties
- The configuration properties for the custom action. public void setInputArtifactDetails(ArtifactDetails inputArtifactDetails)
inputArtifactDetails
- public ArtifactDetails getInputArtifactDetails()
public CreateCustomActionTypeRequest withInputArtifactDetails(ArtifactDetails inputArtifactDetails)
inputArtifactDetails
- public void setOutputArtifactDetails(ArtifactDetails outputArtifactDetails)
outputArtifactDetails
- public ArtifactDetails getOutputArtifactDetails()
public CreateCustomActionTypeRequest withOutputArtifactDetails(ArtifactDetails outputArtifactDetails)
outputArtifactDetails
- public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CreateCustomActionTypeRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()