Class ActionType
- java.lang.Object
-
- com.amazonaws.services.codepipeline.model.ActionType
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ActionType extends Object implements Serializable, Cloneable
Returns information about the details of an action type.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ActionType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActionType
clone()
boolean
equals(Object obj)
List<ActionConfigurationProperty>
getActionConfigurationProperties()
The configuration properties for the action type.ActionTypeId
getId()
ArtifactDetails
getInputArtifactDetails()
The details of the input artifact for the action, such as its commit ID.ArtifactDetails
getOutputArtifactDetails()
The details of the output artifact of the action, such as its commit ID.ActionTypeSettings
getSettings()
The settings for the action type.int
hashCode()
void
setActionConfigurationProperties(Collection<ActionConfigurationProperty> actionConfigurationProperties)
The configuration properties for the action type.void
setId(ActionTypeId id)
void
setInputArtifactDetails(ArtifactDetails inputArtifactDetails)
The details of the input artifact for the action, such as its commit ID.void
setOutputArtifactDetails(ArtifactDetails outputArtifactDetails)
The details of the output artifact of the action, such as its commit ID.void
setSettings(ActionTypeSettings settings)
The settings for the action type.String
toString()
Returns a string representation of this object; useful for testing and debugging.ActionType
withActionConfigurationProperties(ActionConfigurationProperty... actionConfigurationProperties)
The configuration properties for the action type.ActionType
withActionConfigurationProperties(Collection<ActionConfigurationProperty> actionConfigurationProperties)
The configuration properties for the action type.ActionType
withId(ActionTypeId id)
ActionType
withInputArtifactDetails(ArtifactDetails inputArtifactDetails)
The details of the input artifact for the action, such as its commit ID.ActionType
withOutputArtifactDetails(ArtifactDetails outputArtifactDetails)
The details of the output artifact of the action, such as its commit ID.ActionType
withSettings(ActionTypeSettings settings)
The settings for the action type.
-
-
-
Method Detail
-
setId
public void setId(ActionTypeId id)
- Parameters:
id
-
-
getId
public ActionTypeId getId()
- Returns:
-
withId
public ActionType withId(ActionTypeId id)
- Parameters:
id
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSettings
public void setSettings(ActionTypeSettings settings)
The settings for the action type.
- Parameters:
settings
- The settings for the action type.
-
getSettings
public ActionTypeSettings getSettings()
The settings for the action type.
- Returns:
- The settings for the action type.
-
withSettings
public ActionType withSettings(ActionTypeSettings settings)
The settings for the action type.
- Parameters:
settings
- The settings for the action type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getActionConfigurationProperties
public List<ActionConfigurationProperty> getActionConfigurationProperties()
The configuration properties for the action type.
- Returns:
- The configuration properties for the action type.
-
setActionConfigurationProperties
public void setActionConfigurationProperties(Collection<ActionConfigurationProperty> actionConfigurationProperties)
The configuration properties for the action type.
- Parameters:
actionConfigurationProperties
- The configuration properties for the action type.
-
withActionConfigurationProperties
public ActionType withActionConfigurationProperties(ActionConfigurationProperty... actionConfigurationProperties)
The configuration properties for the action type.
NOTE: This method appends the values to the existing list (if any). Use
setActionConfigurationProperties(java.util.Collection)
orwithActionConfigurationProperties(java.util.Collection)
if you want to override the existing values.- Parameters:
actionConfigurationProperties
- The configuration properties for the action type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withActionConfigurationProperties
public ActionType withActionConfigurationProperties(Collection<ActionConfigurationProperty> actionConfigurationProperties)
The configuration properties for the action type.
- Parameters:
actionConfigurationProperties
- The configuration properties for the action type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setInputArtifactDetails
public void setInputArtifactDetails(ArtifactDetails inputArtifactDetails)
The details of the input artifact for the action, such as its commit ID.
- Parameters:
inputArtifactDetails
- The details of the input artifact for the action, such as its commit ID.
-
getInputArtifactDetails
public ArtifactDetails getInputArtifactDetails()
The details of the input artifact for the action, such as its commit ID.
- Returns:
- The details of the input artifact for the action, such as its commit ID.
-
withInputArtifactDetails
public ActionType withInputArtifactDetails(ArtifactDetails inputArtifactDetails)
The details of the input artifact for the action, such as its commit ID.
- Parameters:
inputArtifactDetails
- The details of the input artifact for the action, such as its commit ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setOutputArtifactDetails
public void setOutputArtifactDetails(ArtifactDetails outputArtifactDetails)
The details of the output artifact of the action, such as its commit ID.
- Parameters:
outputArtifactDetails
- The details of the output artifact of the action, such as its commit ID.
-
getOutputArtifactDetails
public ArtifactDetails getOutputArtifactDetails()
The details of the output artifact of the action, such as its commit ID.
- Returns:
- The details of the output artifact of the action, such as its commit ID.
-
withOutputArtifactDetails
public ActionType withOutputArtifactDetails(ArtifactDetails outputArtifactDetails)
The details of the output artifact of the action, such as its commit ID.
- Parameters:
outputArtifactDetails
- The details of the output artifact of the action, such as its commit ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ActionType clone()
-
-