public class UpdateHoursOfOperationRequest
extends com.amazonaws.AmazonWebServiceRequest
implements java.io.Serializable
This API is in preview release for Amazon Connect and is subject to change.
Updates the hours of operation.
| Constructor and Description |
|---|
UpdateHoursOfOperationRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<HoursOfOperationConfig> |
getConfig()
Configuration information of the hours of operation.
|
java.lang.String |
getDescription()
The description of the hours of operation.
|
java.lang.String |
getHoursOfOperationId()
The identifier of the hours of operation.
|
java.lang.String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
java.lang.String |
getName()
The name of the hours of operation.
|
java.lang.String |
getTimeZone()
The time zone of the hours of operation.
|
int |
hashCode() |
void |
setConfig(java.util.Collection<HoursOfOperationConfig> config)
Configuration information of the hours of operation.
|
void |
setDescription(java.lang.String description)
The description of the hours of operation.
|
void |
setHoursOfOperationId(java.lang.String hoursOfOperationId)
The identifier of the hours of operation.
|
void |
setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
void |
setName(java.lang.String name)
The name of the hours of operation.
|
void |
setTimeZone(java.lang.String timeZone)
The time zone of the hours of operation.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateHoursOfOperationRequest |
withConfig(java.util.Collection<HoursOfOperationConfig> config)
Configuration information of the hours of operation.
|
UpdateHoursOfOperationRequest |
withConfig(HoursOfOperationConfig... config)
Configuration information of the hours of operation.
|
UpdateHoursOfOperationRequest |
withDescription(java.lang.String description)
The description of the hours of operation.
|
UpdateHoursOfOperationRequest |
withHoursOfOperationId(java.lang.String hoursOfOperationId)
The identifier of the hours of operation.
|
UpdateHoursOfOperationRequest |
withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
UpdateHoursOfOperationRequest |
withName(java.lang.String name)
The name of the hours of operation.
|
UpdateHoursOfOperationRequest |
withTimeZone(java.lang.String timeZone)
The time zone of the hours of operation.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.lang.String getInstanceId()
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Constraints:
Length: 1 - 100
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public void setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Constraints:
Length: 1 - 100
instanceId - The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public UpdateHoursOfOperationRequest withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
instanceId - The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public java.lang.String getHoursOfOperationId()
The identifier of the hours of operation.
The identifier of the hours of operation.
public void setHoursOfOperationId(java.lang.String hoursOfOperationId)
The identifier of the hours of operation.
hoursOfOperationId - The identifier of the hours of operation.
public UpdateHoursOfOperationRequest withHoursOfOperationId(java.lang.String hoursOfOperationId)
The identifier of the hours of operation.
Returns a reference to this object so that method calls can be chained together.
hoursOfOperationId - The identifier of the hours of operation.
public java.lang.String getName()
The name of the hours of operation.
Constraints:
Length: 1 - 127
The name of the hours of operation.
public void setName(java.lang.String name)
The name of the hours of operation.
Constraints:
Length: 1 - 127
name - The name of the hours of operation.
public UpdateHoursOfOperationRequest withName(java.lang.String name)
The name of the hours of operation.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 127
name - The name of the hours of operation.
public java.lang.String getDescription()
The description of the hours of operation.
Constraints:
Length: 0 - 250
The description of the hours of operation.
public void setDescription(java.lang.String description)
The description of the hours of operation.
Constraints:
Length: 0 - 250
description - The description of the hours of operation.
public UpdateHoursOfOperationRequest withDescription(java.lang.String description)
The description of the hours of operation.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 250
description - The description of the hours of operation.
public java.lang.String getTimeZone()
The time zone of the hours of operation.
The time zone of the hours of operation.
public void setTimeZone(java.lang.String timeZone)
The time zone of the hours of operation.
timeZone - The time zone of the hours of operation.
public UpdateHoursOfOperationRequest withTimeZone(java.lang.String timeZone)
The time zone of the hours of operation.
Returns a reference to this object so that method calls can be chained together.
timeZone - The time zone of the hours of operation.
public java.util.List<HoursOfOperationConfig> getConfig()
Configuration information of the hours of operation.
Configuration information of the hours of operation.
public void setConfig(java.util.Collection<HoursOfOperationConfig> config)
Configuration information of the hours of operation.
config - Configuration information of the hours of operation.
public UpdateHoursOfOperationRequest withConfig(HoursOfOperationConfig... config)
Configuration information of the hours of operation.
Returns a reference to this object so that method calls can be chained together.
config - Configuration information of the hours of operation.
public UpdateHoursOfOperationRequest withConfig(java.util.Collection<HoursOfOperationConfig> config)
Configuration information of the hours of operation.
Returns a reference to this object so that method calls can be chained together.
config - Configuration information of the hours of operation.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object