@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateRotationOverrideRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateRotationOverrideRequest() |
Modifier and Type | Method and Description |
---|---|
CreateRotationOverrideRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Date |
getEndTime()
The date and time when the override ends.
|
String |
getIdempotencyToken()
A token that ensures that the operation is called only once with the specified details.
|
List<String> |
getNewContactIds()
The Amazon Resource Names (ARNs) of the contacts to replace those in the current on-call rotation with.
|
String |
getRotationId()
The Amazon Resource Name (ARN) of the rotation to create an override for.
|
Date |
getStartTime()
The date and time when the override goes into effect.
|
int |
hashCode() |
void |
setEndTime(Date endTime)
The date and time when the override ends.
|
void |
setIdempotencyToken(String idempotencyToken)
A token that ensures that the operation is called only once with the specified details.
|
void |
setNewContactIds(Collection<String> newContactIds)
The Amazon Resource Names (ARNs) of the contacts to replace those in the current on-call rotation with.
|
void |
setRotationId(String rotationId)
The Amazon Resource Name (ARN) of the rotation to create an override for.
|
void |
setStartTime(Date startTime)
The date and time when the override goes into effect.
|
String |
toString()
Returns a string representation of this object.
|
CreateRotationOverrideRequest |
withEndTime(Date endTime)
The date and time when the override ends.
|
CreateRotationOverrideRequest |
withIdempotencyToken(String idempotencyToken)
A token that ensures that the operation is called only once with the specified details.
|
CreateRotationOverrideRequest |
withNewContactIds(Collection<String> newContactIds)
The Amazon Resource Names (ARNs) of the contacts to replace those in the current on-call rotation with.
|
CreateRotationOverrideRequest |
withNewContactIds(String... newContactIds)
The Amazon Resource Names (ARNs) of the contacts to replace those in the current on-call rotation with.
|
CreateRotationOverrideRequest |
withRotationId(String rotationId)
The Amazon Resource Name (ARN) of the rotation to create an override for.
|
CreateRotationOverrideRequest |
withStartTime(Date startTime)
The date and time when the override goes into effect.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setRotationId(String rotationId)
The Amazon Resource Name (ARN) of the rotation to create an override for.
rotationId
- The Amazon Resource Name (ARN) of the rotation to create an override for.public String getRotationId()
The Amazon Resource Name (ARN) of the rotation to create an override for.
public CreateRotationOverrideRequest withRotationId(String rotationId)
The Amazon Resource Name (ARN) of the rotation to create an override for.
rotationId
- The Amazon Resource Name (ARN) of the rotation to create an override for.public List<String> getNewContactIds()
The Amazon Resource Names (ARNs) of the contacts to replace those in the current on-call rotation with.
If you want to include any current team members in the override shift, you must include their ARNs in the new contact ID list.
If you want to include any current team members in the override shift, you must include their ARNs in the new contact ID list.
public void setNewContactIds(Collection<String> newContactIds)
The Amazon Resource Names (ARNs) of the contacts to replace those in the current on-call rotation with.
If you want to include any current team members in the override shift, you must include their ARNs in the new contact ID list.
newContactIds
- The Amazon Resource Names (ARNs) of the contacts to replace those in the current on-call rotation
with.
If you want to include any current team members in the override shift, you must include their ARNs in the new contact ID list.
public CreateRotationOverrideRequest withNewContactIds(String... newContactIds)
The Amazon Resource Names (ARNs) of the contacts to replace those in the current on-call rotation with.
If you want to include any current team members in the override shift, you must include their ARNs in the new contact ID list.
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 to replace those in the current on-call rotation
with.
If you want to include any current team members in the override shift, you must include their ARNs in the new contact ID list.
public CreateRotationOverrideRequest withNewContactIds(Collection<String> newContactIds)
The Amazon Resource Names (ARNs) of the contacts to replace those in the current on-call rotation with.
If you want to include any current team members in the override shift, you must include their ARNs in the new contact ID list.
newContactIds
- The Amazon Resource Names (ARNs) of the contacts to replace those in the current on-call rotation
with.
If you want to include any current team members in the override shift, you must include their ARNs in the new contact ID list.
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 CreateRotationOverrideRequest 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 CreateRotationOverrideRequest withEndTime(Date endTime)
The date and time when the override ends.
endTime
- The date and time when the override ends.public void setIdempotencyToken(String idempotencyToken)
A token that ensures that the operation is called only once with the specified details.
idempotencyToken
- A token that ensures that the operation is called only once with the specified details.public String getIdempotencyToken()
A token that ensures that the operation is called only once with the specified details.
public CreateRotationOverrideRequest withIdempotencyToken(String idempotencyToken)
A token that ensures that the operation is called only once with the specified details.
idempotencyToken
- A token that ensures that the operation is called only once with the specified details.public String toString()
toString
in class Object
Object.toString()
public CreateRotationOverrideRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()