@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListPreviewRotationShiftsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListPreviewRotationShiftsRequest() |
Modifier and Type | Method and Description |
---|---|
ListPreviewRotationShiftsRequest |
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 a rotation shift would end.
|
Integer |
getMaxResults()
The maximum number of items to return for this call.
|
List<String> |
getMembers()
The contacts that would be assigned to a rotation.
|
String |
getNextToken()
A token to start the list.
|
List<PreviewOverride> |
getOverrides()
Information about changes that would be made in a rotation override.
|
RecurrenceSettings |
getRecurrence()
Information about how long a rotation would last before restarting at the beginning of the shift order.
|
Date |
getRotationStartTime()
The date and time a rotation would begin.
|
Date |
getStartTime()
Used to filter the range of calculated shifts before sending the response back to the user.
|
String |
getTimeZoneId()
The time zone the rotation’s activity would be based on, in Internet Assigned Numbers Authority (IANA) format.
|
int |
hashCode() |
void |
setEndTime(Date endTime)
The date and time a rotation shift would end.
|
void |
setMaxResults(Integer maxResults)
The maximum number of items to return for this call.
|
void |
setMembers(Collection<String> members)
The contacts that would be assigned to a rotation.
|
void |
setNextToken(String nextToken)
A token to start the list.
|
void |
setOverrides(Collection<PreviewOverride> overrides)
Information about changes that would be made in a rotation override.
|
void |
setRecurrence(RecurrenceSettings recurrence)
Information about how long a rotation would last before restarting at the beginning of the shift order.
|
void |
setRotationStartTime(Date rotationStartTime)
The date and time a rotation would begin.
|
void |
setStartTime(Date startTime)
Used to filter the range of calculated shifts before sending the response back to the user.
|
void |
setTimeZoneId(String timeZoneId)
The time zone the rotation’s activity would be based on, in Internet Assigned Numbers Authority (IANA) format.
|
String |
toString()
Returns a string representation of this object.
|
ListPreviewRotationShiftsRequest |
withEndTime(Date endTime)
The date and time a rotation shift would end.
|
ListPreviewRotationShiftsRequest |
withMaxResults(Integer maxResults)
The maximum number of items to return for this call.
|
ListPreviewRotationShiftsRequest |
withMembers(Collection<String> members)
The contacts that would be assigned to a rotation.
|
ListPreviewRotationShiftsRequest |
withMembers(String... members)
The contacts that would be assigned to a rotation.
|
ListPreviewRotationShiftsRequest |
withNextToken(String nextToken)
A token to start the list.
|
ListPreviewRotationShiftsRequest |
withOverrides(Collection<PreviewOverride> overrides)
Information about changes that would be made in a rotation override.
|
ListPreviewRotationShiftsRequest |
withOverrides(PreviewOverride... overrides)
Information about changes that would be made in a rotation override.
|
ListPreviewRotationShiftsRequest |
withRecurrence(RecurrenceSettings recurrence)
Information about how long a rotation would last before restarting at the beginning of the shift order.
|
ListPreviewRotationShiftsRequest |
withRotationStartTime(Date rotationStartTime)
The date and time a rotation would begin.
|
ListPreviewRotationShiftsRequest |
withStartTime(Date startTime)
Used to filter the range of calculated shifts before sending the response back to the user.
|
ListPreviewRotationShiftsRequest |
withTimeZoneId(String timeZoneId)
The time zone the rotation’s activity would be based 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 setRotationStartTime(Date rotationStartTime)
The date and time a rotation would begin. The first shift is calculated from this date and time.
rotationStartTime
- The date and time a rotation would begin. The first shift is calculated from this date and time.public Date getRotationStartTime()
The date and time a rotation would begin. The first shift is calculated from this date and time.
public ListPreviewRotationShiftsRequest withRotationStartTime(Date rotationStartTime)
The date and time a rotation would begin. The first shift is calculated from this date and time.
rotationStartTime
- The date and time a rotation would begin. The first shift is calculated from this date and time.public void setStartTime(Date startTime)
Used to filter the range of calculated shifts before sending the response back to the user.
startTime
- Used to filter the range of calculated shifts before sending the response back to the user.public Date getStartTime()
Used to filter the range of calculated shifts before sending the response back to the user.
public ListPreviewRotationShiftsRequest withStartTime(Date startTime)
Used to filter the range of calculated shifts before sending the response back to the user.
startTime
- Used to filter the range of calculated shifts before sending the response back to the user.public void setEndTime(Date endTime)
The date and time a rotation shift would end.
endTime
- The date and time a rotation shift would end.public Date getEndTime()
The date and time a rotation shift would end.
public ListPreviewRotationShiftsRequest withEndTime(Date endTime)
The date and time a rotation shift would end.
endTime
- The date and time a rotation shift would end.public List<String> getMembers()
The contacts that would be assigned to a rotation.
public void setMembers(Collection<String> members)
The contacts that would be assigned to a rotation.
members
- The contacts that would be assigned to a rotation.public ListPreviewRotationShiftsRequest withMembers(String... members)
The contacts that would be assigned to a rotation.
NOTE: This method appends the values to the existing list (if any). Use
setMembers(java.util.Collection)
or withMembers(java.util.Collection)
if you want to override
the existing values.
members
- The contacts that would be assigned to a rotation.public ListPreviewRotationShiftsRequest withMembers(Collection<String> members)
The contacts that would be assigned to a rotation.
members
- The contacts that would be assigned to a rotation.public void setTimeZoneId(String timeZoneId)
The time zone the rotation’s activity would be based on, in Internet Assigned Numbers Authority (IANA) format. For example: "America/Los_Angeles", "UTC", or "Asia/Seoul".
timeZoneId
- The time zone the rotation’s activity would be based on, in Internet Assigned Numbers Authority (IANA)
format. For example: "America/Los_Angeles", "UTC", or "Asia/Seoul".public String getTimeZoneId()
The time zone the rotation’s activity would be based on, in Internet Assigned Numbers Authority (IANA) format. For example: "America/Los_Angeles", "UTC", or "Asia/Seoul".
public ListPreviewRotationShiftsRequest withTimeZoneId(String timeZoneId)
The time zone the rotation’s activity would be based on, in Internet Assigned Numbers Authority (IANA) format. For example: "America/Los_Angeles", "UTC", or "Asia/Seoul".
timeZoneId
- The time zone the rotation’s activity would be based on, in Internet Assigned Numbers Authority (IANA)
format. For example: "America/Los_Angeles", "UTC", or "Asia/Seoul".public void setRecurrence(RecurrenceSettings recurrence)
Information about how long a rotation would last before restarting at the beginning of the shift order.
recurrence
- Information about how long a rotation would last before restarting at the beginning of the shift order.public RecurrenceSettings getRecurrence()
Information about how long a rotation would last before restarting at the beginning of the shift order.
public ListPreviewRotationShiftsRequest withRecurrence(RecurrenceSettings recurrence)
Information about how long a rotation would last before restarting at the beginning of the shift order.
recurrence
- Information about how long a rotation would last before restarting at the beginning of the shift order.public List<PreviewOverride> getOverrides()
Information about changes that would be made in a rotation override.
public void setOverrides(Collection<PreviewOverride> overrides)
Information about changes that would be made in a rotation override.
overrides
- Information about changes that would be made in a rotation override.public ListPreviewRotationShiftsRequest withOverrides(PreviewOverride... overrides)
Information about changes that would be made in a rotation override.
NOTE: This method appends the values to the existing list (if any). Use
setOverrides(java.util.Collection)
or withOverrides(java.util.Collection)
if you want to
override the existing values.
overrides
- Information about changes that would be made in a rotation override.public ListPreviewRotationShiftsRequest withOverrides(Collection<PreviewOverride> overrides)
Information about changes that would be made in a rotation override.
overrides
- Information about changes that would be made in a rotation override.public void setNextToken(String nextToken)
A token to start the list. This token is used to get the next set of results.
nextToken
- A token to start the list. This token is used to get the next set of results.public String getNextToken()
A token to start the list. This token is used to get the next set of results.
public ListPreviewRotationShiftsRequest withNextToken(String nextToken)
A token to start the list. This token is used to get the next set of results.
nextToken
- A token to start the list. This token is used to get the next set of results.public void setMaxResults(Integer maxResults)
The maximum number of items to return for this call. The call also returns a token that can be specified in a subsequent call to get the next set of results.
maxResults
- The maximum number of items to return for this call. The call also returns a token that can be specified
in a subsequent call to get the next set of results.public Integer getMaxResults()
The maximum number of items to return for this call. The call also returns a token that can be specified in a subsequent call to get the next set of results.
public ListPreviewRotationShiftsRequest withMaxResults(Integer maxResults)
The maximum number of items to return for this call. The call also returns a token that can be specified in a subsequent call to get the next set of results.
maxResults
- The maximum number of items to return for this call. The call also returns a token that can be specified
in a subsequent call to get the next set of results.public String toString()
toString
in class Object
Object.toString()
public ListPreviewRotationShiftsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()