Class TransitionState
- java.lang.Object
-
- com.amazonaws.services.codepipeline.model.TransitionState
-
- All Implemented Interfaces:
Serializable,Cloneable
public class TransitionState extends Object implements Serializable, Cloneable
Represents information about the state of transitions between one stage and another stage.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TransitionState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TransitionStateclone()booleanequals(Object obj)StringgetDisabledReason()The user-specified reason why the transition between two stages of a pipeline was disabled.BooleangetEnabled()Whether the transition between stages is enabled (true) or disabled (false).DategetLastChangedAt()The timestamp when the transition state was last changed.StringgetLastChangedBy()The ID of the user who last changed the transition state.inthashCode()BooleanisEnabled()Whether the transition between stages is enabled (true) or disabled (false).voidsetDisabledReason(String disabledReason)The user-specified reason why the transition between two stages of a pipeline was disabled.voidsetEnabled(Boolean enabled)Whether the transition between stages is enabled (true) or disabled (false).voidsetLastChangedAt(Date lastChangedAt)The timestamp when the transition state was last changed.voidsetLastChangedBy(String lastChangedBy)The ID of the user who last changed the transition state.StringtoString()Returns a string representation of this object; useful for testing and debugging.TransitionStatewithDisabledReason(String disabledReason)The user-specified reason why the transition between two stages of a pipeline was disabled.TransitionStatewithEnabled(Boolean enabled)Whether the transition between stages is enabled (true) or disabled (false).TransitionStatewithLastChangedAt(Date lastChangedAt)The timestamp when the transition state was last changed.TransitionStatewithLastChangedBy(String lastChangedBy)The ID of the user who last changed the transition state.
-
-
-
Method Detail
-
setEnabled
public void setEnabled(Boolean enabled)
Whether the transition between stages is enabled (true) or disabled (false).
- Parameters:
enabled- Whether the transition between stages is enabled (true) or disabled (false).
-
getEnabled
public Boolean getEnabled()
Whether the transition between stages is enabled (true) or disabled (false).
- Returns:
- Whether the transition between stages is enabled (true) or disabled (false).
-
withEnabled
public TransitionState withEnabled(Boolean enabled)
Whether the transition between stages is enabled (true) or disabled (false).
- Parameters:
enabled- Whether the transition between stages is enabled (true) or disabled (false).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isEnabled
public Boolean isEnabled()
Whether the transition between stages is enabled (true) or disabled (false).
- Returns:
- Whether the transition between stages is enabled (true) or disabled (false).
-
setLastChangedBy
public void setLastChangedBy(String lastChangedBy)
The ID of the user who last changed the transition state.
- Parameters:
lastChangedBy- The ID of the user who last changed the transition state.
-
getLastChangedBy
public String getLastChangedBy()
The ID of the user who last changed the transition state.
- Returns:
- The ID of the user who last changed the transition state.
-
withLastChangedBy
public TransitionState withLastChangedBy(String lastChangedBy)
The ID of the user who last changed the transition state.
- Parameters:
lastChangedBy- The ID of the user who last changed the transition state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLastChangedAt
public void setLastChangedAt(Date lastChangedAt)
The timestamp when the transition state was last changed.
- Parameters:
lastChangedAt- The timestamp when the transition state was last changed.
-
getLastChangedAt
public Date getLastChangedAt()
The timestamp when the transition state was last changed.
- Returns:
- The timestamp when the transition state was last changed.
-
withLastChangedAt
public TransitionState withLastChangedAt(Date lastChangedAt)
The timestamp when the transition state was last changed.
- Parameters:
lastChangedAt- The timestamp when the transition state was last changed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDisabledReason
public void setDisabledReason(String disabledReason)
The user-specified reason why the transition between two stages of a pipeline was disabled.
- Parameters:
disabledReason- The user-specified reason why the transition between two stages of a pipeline was disabled.
-
getDisabledReason
public String getDisabledReason()
The user-specified reason why the transition between two stages of a pipeline was disabled.
- Returns:
- The user-specified reason why the transition between two stages of a pipeline was disabled.
-
withDisabledReason
public TransitionState withDisabledReason(String disabledReason)
The user-specified reason why the transition between two stages of a pipeline was disabled.
- Parameters:
disabledReason- The user-specified reason why the transition between two stages of a pipeline was disabled.- 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public TransitionState clone()
-
-