@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateHoursOfOperationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateHoursOfOperationRequest() |
Modifier and Type | Method and Description |
---|---|
CreateHoursOfOperationRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateHoursOfOperationRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateHoursOfOperationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<HoursOfOperationConfig> |
getConfig()
Configuration information for the hours of operation: day, start time, and end time.
|
String |
getDescription()
The description of the hours of operation.
|
String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
String |
getName()
The name of the hours of operation.
|
Map<String,String> |
getTags()
The tags used to organize, track, or control access for this resource.
|
String |
getTimeZone()
The time zone of the hours of operation.
|
int |
hashCode() |
void |
setConfig(Collection<HoursOfOperationConfig> config)
Configuration information for the hours of operation: day, start time, and end time.
|
void |
setDescription(String description)
The description of the hours of operation.
|
void |
setInstanceId(String instanceId)
The identifier of the Amazon Connect instance.
|
void |
setName(String name)
The name of the hours of operation.
|
void |
setTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
|
void |
setTimeZone(String timeZone)
The time zone of the hours of operation.
|
String |
toString()
Returns a string representation of this object.
|
CreateHoursOfOperationRequest |
withConfig(Collection<HoursOfOperationConfig> config)
Configuration information for the hours of operation: day, start time, and end time.
|
CreateHoursOfOperationRequest |
withConfig(HoursOfOperationConfig... config)
Configuration information for the hours of operation: day, start time, and end time.
|
CreateHoursOfOperationRequest |
withDescription(String description)
The description of the hours of operation.
|
CreateHoursOfOperationRequest |
withInstanceId(String instanceId)
The identifier of the Amazon Connect instance.
|
CreateHoursOfOperationRequest |
withName(String name)
The name of the hours of operation.
|
CreateHoursOfOperationRequest |
withTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
|
CreateHoursOfOperationRequest |
withTimeZone(String timeZone)
The time zone of the hours of operation.
|
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 setInstanceId(String instanceId)
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
instanceId
- The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.public String getInstanceId()
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
public CreateHoursOfOperationRequest withInstanceId(String instanceId)
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
instanceId
- The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.public void setName(String name)
The name of the hours of operation.
name
- The name of the hours of operation.public String getName()
The name of the hours of operation.
public CreateHoursOfOperationRequest withName(String name)
The name of the hours of operation.
name
- The name of the hours of operation.public void setDescription(String description)
The description of the hours of operation.
description
- The description of the hours of operation.public String getDescription()
The description of the hours of operation.
public CreateHoursOfOperationRequest withDescription(String description)
The description of the hours of operation.
description
- The description of the hours of operation.public void setTimeZone(String timeZone)
The time zone of the hours of operation.
timeZone
- The time zone of the hours of operation.public String getTimeZone()
The time zone of the hours of operation.
public CreateHoursOfOperationRequest withTimeZone(String timeZone)
The time zone of the hours of operation.
timeZone
- The time zone of the hours of operation.public List<HoursOfOperationConfig> getConfig()
Configuration information for the hours of operation: day, start time, and end time.
public void setConfig(Collection<HoursOfOperationConfig> config)
Configuration information for the hours of operation: day, start time, and end time.
config
- Configuration information for the hours of operation: day, start time, and end time.public CreateHoursOfOperationRequest withConfig(HoursOfOperationConfig... config)
Configuration information for the hours of operation: day, start time, and end time.
NOTE: This method appends the values to the existing list (if any). Use
setConfig(java.util.Collection)
or withConfig(java.util.Collection)
if you want to override the
existing values.
config
- Configuration information for the hours of operation: day, start time, and end time.public CreateHoursOfOperationRequest withConfig(Collection<HoursOfOperationConfig> config)
Configuration information for the hours of operation: day, start time, and end time.
config
- Configuration information for the hours of operation: day, start time, and end time.public Map<String,String> getTags()
The tags used to organize, track, or control access for this resource.
public void setTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
tags
- The tags used to organize, track, or control access for this resource.public CreateHoursOfOperationRequest withTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
tags
- The tags used to organize, track, or control access for this resource.public CreateHoursOfOperationRequest addTagsEntry(String key, String value)
public CreateHoursOfOperationRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateHoursOfOperationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()