@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateRotationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateRotationRequest() |
Modifier and Type | Method and Description |
---|---|
CreateRotationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getContactIds()
The Amazon Resource Names (ARNs) of the contacts to add to the rotation.
|
String |
getIdempotencyToken()
A token that ensures that the operation is called only once with the specified details.
|
String |
getName()
The name of the rotation.
|
RecurrenceSettings |
getRecurrence()
Information about the rule that specifies when a shift's team members rotate.
|
Date |
getStartTime()
The date and time that the rotation goes into effect.
|
List<Tag> |
getTags()
Optional metadata to assign to the rotation.
|
String |
getTimeZoneId()
The time zone to base the rotation’s activity on in Internet Assigned Numbers Authority (IANA) format.
|
int |
hashCode() |
void |
setContactIds(Collection<String> contactIds)
The Amazon Resource Names (ARNs) of the contacts to add to the rotation.
|
void |
setIdempotencyToken(String idempotencyToken)
A token that ensures that the operation is called only once with the specified details.
|
void |
setName(String name)
The name of the rotation.
|
void |
setRecurrence(RecurrenceSettings recurrence)
Information about the rule that specifies when a shift's team members rotate.
|
void |
setStartTime(Date startTime)
The date and time that the rotation goes into effect.
|
void |
setTags(Collection<Tag> tags)
Optional metadata to assign to the rotation.
|
void |
setTimeZoneId(String timeZoneId)
The time zone to base the rotation’s activity on in Internet Assigned Numbers Authority (IANA) format.
|
String |
toString()
Returns a string representation of this object.
|
CreateRotationRequest |
withContactIds(Collection<String> contactIds)
The Amazon Resource Names (ARNs) of the contacts to add to the rotation.
|
CreateRotationRequest |
withContactIds(String... contactIds)
The Amazon Resource Names (ARNs) of the contacts to add to the rotation.
|
CreateRotationRequest |
withIdempotencyToken(String idempotencyToken)
A token that ensures that the operation is called only once with the specified details.
|
CreateRotationRequest |
withName(String name)
The name of the rotation.
|
CreateRotationRequest |
withRecurrence(RecurrenceSettings recurrence)
Information about the rule that specifies when a shift's team members rotate.
|
CreateRotationRequest |
withStartTime(Date startTime)
The date and time that the rotation goes into effect.
|
CreateRotationRequest |
withTags(Collection<Tag> tags)
Optional metadata to assign to the rotation.
|
CreateRotationRequest |
withTags(Tag... tags)
Optional metadata to assign to the rotation.
|
CreateRotationRequest |
withTimeZoneId(String timeZoneId)
The time zone to base the rotation’s activity on in Internet Assigned Numbers Authority (IANA) format.
|
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 setName(String name)
The name of the rotation.
name
- The name of the rotation.public String getName()
The name of the rotation.
public CreateRotationRequest withName(String name)
The name of the rotation.
name
- The name of the rotation.public List<String> getContactIds()
The Amazon Resource Names (ARNs) of the contacts to add to the rotation.
The order that you list the contacts in is their shift order in the rotation schedule. To change the order of the contact's shifts, use the UpdateRotation operation.
The order that you list the contacts in is their shift order in the rotation schedule. To change the order of the contact's shifts, use the UpdateRotation operation.
public void setContactIds(Collection<String> contactIds)
The Amazon Resource Names (ARNs) of the contacts to add to the rotation.
The order that you list the contacts in is their shift order in the rotation schedule. To change the order of the contact's shifts, use the UpdateRotation operation.
contactIds
- The Amazon Resource Names (ARNs) of the contacts to add to the rotation.
The order that you list the contacts in is their shift order in the rotation schedule. To change the order of the contact's shifts, use the UpdateRotation operation.
public CreateRotationRequest withContactIds(String... contactIds)
The Amazon Resource Names (ARNs) of the contacts to add to the rotation.
The order that you list the contacts in is their shift order in the rotation schedule. To change the order of the contact's shifts, use the UpdateRotation operation.
NOTE: This method appends the values to the existing list (if any). Use
setContactIds(java.util.Collection)
or withContactIds(java.util.Collection)
if you want to
override the existing values.
contactIds
- The Amazon Resource Names (ARNs) of the contacts to add to the rotation.
The order that you list the contacts in is their shift order in the rotation schedule. To change the order of the contact's shifts, use the UpdateRotation operation.
public CreateRotationRequest withContactIds(Collection<String> contactIds)
The Amazon Resource Names (ARNs) of the contacts to add to the rotation.
The order that you list the contacts in is their shift order in the rotation schedule. To change the order of the contact's shifts, use the UpdateRotation operation.
contactIds
- The Amazon Resource Names (ARNs) of the contacts to add to the rotation.
The order that you list the contacts in is their shift order in the rotation schedule. To change the order of the contact's shifts, use the UpdateRotation operation.
public void setStartTime(Date startTime)
The date and time that the rotation goes into effect.
startTime
- The date and time that the rotation goes into effect.public Date getStartTime()
The date and time that the rotation goes into effect.
public CreateRotationRequest withStartTime(Date startTime)
The date and time that the rotation goes into effect.
startTime
- The date and time that the rotation goes into effect.public void setTimeZoneId(String timeZoneId)
The time zone to base the rotation’s activity on in Internet Assigned Numbers Authority (IANA) format. For example: "America/Los_Angeles", "UTC", or "Asia/Seoul". For more information, see the Time Zone Database on the IANA website.
Designators for time zones that don’t support Daylight Savings Time rules, such as Pacific Standard Time (PST) and Pacific Daylight Time (PDT), are not supported.
timeZoneId
- The time zone to base the rotation’s activity on in Internet Assigned Numbers Authority (IANA) format. For
example: "America/Los_Angeles", "UTC", or "Asia/Seoul". For more information, see the Time Zone Database on the IANA website. Designators for time zones that don’t support Daylight Savings Time rules, such as Pacific Standard Time (PST) and Pacific Daylight Time (PDT), are not supported.
public String getTimeZoneId()
The time zone to base the rotation’s activity on in Internet Assigned Numbers Authority (IANA) format. For example: "America/Los_Angeles", "UTC", or "Asia/Seoul". For more information, see the Time Zone Database on the IANA website.
Designators for time zones that don’t support Daylight Savings Time rules, such as Pacific Standard Time (PST) and Pacific Daylight Time (PDT), are not supported.
Designators for time zones that don’t support Daylight Savings Time rules, such as Pacific Standard Time (PST) and Pacific Daylight Time (PDT), are not supported.
public CreateRotationRequest withTimeZoneId(String timeZoneId)
The time zone to base the rotation’s activity on in Internet Assigned Numbers Authority (IANA) format. For example: "America/Los_Angeles", "UTC", or "Asia/Seoul". For more information, see the Time Zone Database on the IANA website.
Designators for time zones that don’t support Daylight Savings Time rules, such as Pacific Standard Time (PST) and Pacific Daylight Time (PDT), are not supported.
timeZoneId
- The time zone to base the rotation’s activity on in Internet Assigned Numbers Authority (IANA) format. For
example: "America/Los_Angeles", "UTC", or "Asia/Seoul". For more information, see the Time Zone Database on the IANA website. Designators for time zones that don’t support Daylight Savings Time rules, such as Pacific Standard Time (PST) and Pacific Daylight Time (PDT), are not supported.
public void setRecurrence(RecurrenceSettings recurrence)
Information about the rule that specifies when a shift's team members rotate.
recurrence
- Information about the rule that specifies when a shift's team members rotate.public RecurrenceSettings getRecurrence()
Information about the rule that specifies when a shift's team members rotate.
public CreateRotationRequest withRecurrence(RecurrenceSettings recurrence)
Information about the rule that specifies when a shift's team members rotate.
recurrence
- Information about the rule that specifies when a shift's team members rotate.public List<Tag> getTags()
Optional metadata to assign to the rotation. Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For more information, see Tagging Incident Manager resources in the Incident Manager User Guide.
public void setTags(Collection<Tag> tags)
Optional metadata to assign to the rotation. Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For more information, see Tagging Incident Manager resources in the Incident Manager User Guide.
tags
- Optional metadata to assign to the rotation. Tags enable you to categorize a resource in different ways,
such as by purpose, owner, or environment. For more information, see Tagging Incident Manager
resources in the Incident Manager User Guide.public CreateRotationRequest withTags(Tag... tags)
Optional metadata to assign to the rotation. Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For more information, see Tagging Incident Manager resources in the Incident Manager User Guide.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- Optional metadata to assign to the rotation. Tags enable you to categorize a resource in different ways,
such as by purpose, owner, or environment. For more information, see Tagging Incident Manager
resources in the Incident Manager User Guide.public CreateRotationRequest withTags(Collection<Tag> tags)
Optional metadata to assign to the rotation. Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For more information, see Tagging Incident Manager resources in the Incident Manager User Guide.
tags
- Optional metadata to assign to the rotation. Tags enable you to categorize a resource in different ways,
such as by purpose, owner, or environment. For more information, see Tagging Incident Manager
resources in the Incident Manager User Guide.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 CreateRotationRequest 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 CreateRotationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()