@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetRotationOverrideResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetRotationOverrideResult() |
Modifier and Type | Method and Description |
---|---|
GetRotationOverrideResult |
clone() |
boolean |
equals(Object obj) |
Date |
getCreateTime()
The date and time when the override was created.
|
Date |
getEndTime()
The date and time when the override ends.
|
List<String> |
getNewContactIds()
The Amazon Resource Names (ARNs) of the contacts assigned to the override of the on-call rotation.
|
String |
getRotationArn()
The Amazon Resource Name (ARN) of the on-call rotation that was overridden.
|
String |
getRotationOverrideId()
The Amazon Resource Name (ARN) of the override to an on-call rotation.
|
Date |
getStartTime()
The date and time when the override goes into effect.
|
int |
hashCode() |
void |
setCreateTime(Date createTime)
The date and time when the override was created.
|
void |
setEndTime(Date endTime)
The date and time when the override ends.
|
void |
setNewContactIds(Collection<String> newContactIds)
The Amazon Resource Names (ARNs) of the contacts assigned to the override of the on-call rotation.
|
void |
setRotationArn(String rotationArn)
The Amazon Resource Name (ARN) of the on-call rotation that was overridden.
|
void |
setRotationOverrideId(String rotationOverrideId)
The Amazon Resource Name (ARN) of the override to an on-call rotation.
|
void |
setStartTime(Date startTime)
The date and time when the override goes into effect.
|
String |
toString()
Returns a string representation of this object.
|
GetRotationOverrideResult |
withCreateTime(Date createTime)
The date and time when the override was created.
|
GetRotationOverrideResult |
withEndTime(Date endTime)
The date and time when the override ends.
|
GetRotationOverrideResult |
withNewContactIds(Collection<String> newContactIds)
The Amazon Resource Names (ARNs) of the contacts assigned to the override of the on-call rotation.
|
GetRotationOverrideResult |
withNewContactIds(String... newContactIds)
The Amazon Resource Names (ARNs) of the contacts assigned to the override of the on-call rotation.
|
GetRotationOverrideResult |
withRotationArn(String rotationArn)
The Amazon Resource Name (ARN) of the on-call rotation that was overridden.
|
GetRotationOverrideResult |
withRotationOverrideId(String rotationOverrideId)
The Amazon Resource Name (ARN) of the override to an on-call rotation.
|
GetRotationOverrideResult |
withStartTime(Date startTime)
The date and time when the override goes into effect.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setRotationOverrideId(String rotationOverrideId)
The Amazon Resource Name (ARN) of the override to an on-call rotation.
rotationOverrideId
- The Amazon Resource Name (ARN) of the override to an on-call rotation.public String getRotationOverrideId()
The Amazon Resource Name (ARN) of the override to an on-call rotation.
public GetRotationOverrideResult withRotationOverrideId(String rotationOverrideId)
The Amazon Resource Name (ARN) of the override to an on-call rotation.
rotationOverrideId
- The Amazon Resource Name (ARN) of the override to an on-call rotation.public void setRotationArn(String rotationArn)
The Amazon Resource Name (ARN) of the on-call rotation that was overridden.
rotationArn
- The Amazon Resource Name (ARN) of the on-call rotation that was overridden.public String getRotationArn()
The Amazon Resource Name (ARN) of the on-call rotation that was overridden.
public GetRotationOverrideResult withRotationArn(String rotationArn)
The Amazon Resource Name (ARN) of the on-call rotation that was overridden.
rotationArn
- The Amazon Resource Name (ARN) of the on-call rotation that was overridden.public List<String> getNewContactIds()
The Amazon Resource Names (ARNs) of the contacts assigned to the override of the on-call rotation.
public void setNewContactIds(Collection<String> newContactIds)
The Amazon Resource Names (ARNs) of the contacts assigned to the override of the on-call rotation.
newContactIds
- The Amazon Resource Names (ARNs) of the contacts assigned to the override of the on-call rotation.public GetRotationOverrideResult withNewContactIds(String... newContactIds)
The Amazon Resource Names (ARNs) of the contacts assigned to the override of the on-call rotation.
NOTE: This method appends the values to the existing list (if any). Use
setNewContactIds(java.util.Collection)
or withNewContactIds(java.util.Collection)
if you want
to override the existing values.
newContactIds
- The Amazon Resource Names (ARNs) of the contacts assigned to the override of the on-call rotation.public GetRotationOverrideResult withNewContactIds(Collection<String> newContactIds)
The Amazon Resource Names (ARNs) of the contacts assigned to the override of the on-call rotation.
newContactIds
- The Amazon Resource Names (ARNs) of the contacts assigned to the override of the on-call rotation.public void setStartTime(Date startTime)
The date and time when the override goes into effect.
startTime
- The date and time when the override goes into effect.public Date getStartTime()
The date and time when the override goes into effect.
public GetRotationOverrideResult withStartTime(Date startTime)
The date and time when the override goes into effect.
startTime
- The date and time when the override goes into effect.public void setEndTime(Date endTime)
The date and time when the override ends.
endTime
- The date and time when the override ends.public Date getEndTime()
The date and time when the override ends.
public GetRotationOverrideResult withEndTime(Date endTime)
The date and time when the override ends.
endTime
- The date and time when the override ends.public void setCreateTime(Date createTime)
The date and time when the override was created.
createTime
- The date and time when the override was created.public Date getCreateTime()
The date and time when the override was created.
public GetRotationOverrideResult withCreateTime(Date createTime)
The date and time when the override was created.
createTime
- The date and time when the override was created.public String toString()
toString
in class Object
Object.toString()
public GetRotationOverrideResult clone()