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 TransitionState
clone()
boolean
equals(Object obj)
String
getDisabledReason()
The user-specified reason why the transition between two stages of a pipeline was disabled.Boolean
getEnabled()
Whether the transition between stages is enabled (true) or disabled (false).Date
getLastChangedAt()
The timestamp when the transition state was last changed.String
getLastChangedBy()
The ID of the user who last changed the transition state.int
hashCode()
Boolean
isEnabled()
Whether the transition between stages is enabled (true) or disabled (false).void
setDisabledReason(String disabledReason)
The user-specified reason why the transition between two stages of a pipeline was disabled.void
setEnabled(Boolean enabled)
Whether the transition between stages is enabled (true) or disabled (false).void
setLastChangedAt(Date lastChangedAt)
The timestamp when the transition state was last changed.void
setLastChangedBy(String lastChangedBy)
The ID of the user who last changed the transition state.String
toString()
Returns a string representation of this object; useful for testing and debugging.TransitionState
withDisabledReason(String disabledReason)
The user-specified reason why the transition between two stages of a pipeline was disabled.TransitionState
withEnabled(Boolean enabled)
Whether the transition between stages is enabled (true) or disabled (false).TransitionState
withLastChangedAt(Date lastChangedAt)
The timestamp when the transition state was last changed.TransitionState
withLastChangedBy(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public TransitionState clone()
-
-