@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TransitionState extends Object implements Serializable, Cloneable, StructuredPojo
Represents information about the state of transitions between one stage and another stage.
Constructor and Description |
---|
TransitionState() |
Modifier and Type | Method and 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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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.
|
public void setEnabled(Boolean enabled)
Whether the transition between stages is enabled (true) or disabled (false).
enabled
- Whether the transition between stages is enabled (true) or disabled (false).public Boolean getEnabled()
Whether the transition between stages is enabled (true) or disabled (false).
public TransitionState withEnabled(Boolean enabled)
Whether the transition between stages is enabled (true) or disabled (false).
enabled
- Whether the transition between stages is enabled (true) or disabled (false).public Boolean isEnabled()
Whether the transition between stages is enabled (true) or disabled (false).
public void setLastChangedBy(String lastChangedBy)
The ID of the user who last changed the transition state.
lastChangedBy
- The ID of the user who last changed the transition state.public String getLastChangedBy()
The ID of the user who last changed the transition state.
public TransitionState withLastChangedBy(String lastChangedBy)
The ID of the user who last changed the transition state.
lastChangedBy
- The ID of the user who last changed the transition state.public void setLastChangedAt(Date lastChangedAt)
The timestamp when the transition state was last changed.
lastChangedAt
- The timestamp when the transition state was last changed.public Date getLastChangedAt()
The timestamp when the transition state was last changed.
public TransitionState withLastChangedAt(Date lastChangedAt)
The timestamp when the transition state was last changed.
lastChangedAt
- The timestamp when the transition state was last changed.public void setDisabledReason(String disabledReason)
The user-specified reason why the transition between two stages of a pipeline was disabled.
disabledReason
- The user-specified reason why the transition between two stages of a pipeline was disabled.public String getDisabledReason()
The user-specified reason why the transition between two stages of a pipeline was disabled.
public TransitionState withDisabledReason(String disabledReason)
The user-specified reason why the transition between two stages of a pipeline was disabled.
disabledReason
- The user-specified reason why the transition between two stages of a pipeline was disabled.public String toString()
toString
in class Object
Object.toString()
public TransitionState clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.