public class HoursOfOperation
extends java.lang.Object
implements java.io.Serializable
Information about of the hours of operation.
| Constructor and Description |
|---|
HoursOfOperation() |
| Modifier and Type | Method and Description |
|---|---|
HoursOfOperation |
addTagsEntry(java.lang.String key,
java.lang.String value)
The tags used to organize, track, or control access for this resource.
|
HoursOfOperation |
clearTagsEntries()
Removes all the entries added into Tags.
|
boolean |
equals(java.lang.Object obj) |
java.util.List<HoursOfOperationConfig> |
getConfig()
Configuration information for the hours of operation.
|
java.lang.String |
getDescription()
The description for the hours of operation.
|
java.lang.String |
getHoursOfOperationArn()
The Amazon Resource Name (ARN) for the hours of operation.
|
java.lang.String |
getHoursOfOperationId()
The identifier for the hours of operation.
|
java.lang.String |
getName()
The name for the hours of operation.
|
java.util.Map<java.lang.String,java.lang.String> |
getTags()
The tags used to organize, track, or control access for this resource.
|
java.lang.String |
getTimeZone()
The time zone for the hours of operation.
|
int |
hashCode() |
void |
setConfig(java.util.Collection<HoursOfOperationConfig> config)
Configuration information for the hours of operation.
|
void |
setDescription(java.lang.String description)
The description for the hours of operation.
|
void |
setHoursOfOperationArn(java.lang.String hoursOfOperationArn)
The Amazon Resource Name (ARN) for the hours of operation.
|
void |
setHoursOfOperationId(java.lang.String hoursOfOperationId)
The identifier for the hours of operation.
|
void |
setName(java.lang.String name)
The name for the hours of operation.
|
void |
setTags(java.util.Map<java.lang.String,java.lang.String> tags)
The tags used to organize, track, or control access for this resource.
|
void |
setTimeZone(java.lang.String timeZone)
The time zone for the hours of operation.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
HoursOfOperation |
withConfig(java.util.Collection<HoursOfOperationConfig> config)
Configuration information for the hours of operation.
|
HoursOfOperation |
withConfig(HoursOfOperationConfig... config)
Configuration information for the hours of operation.
|
HoursOfOperation |
withDescription(java.lang.String description)
The description for the hours of operation.
|
HoursOfOperation |
withHoursOfOperationArn(java.lang.String hoursOfOperationArn)
The Amazon Resource Name (ARN) for the hours of operation.
|
HoursOfOperation |
withHoursOfOperationId(java.lang.String hoursOfOperationId)
The identifier for the hours of operation.
|
HoursOfOperation |
withName(java.lang.String name)
The name for the hours of operation.
|
HoursOfOperation |
withTags(java.util.Map<java.lang.String,java.lang.String> tags)
The tags used to organize, track, or control access for this resource.
|
HoursOfOperation |
withTimeZone(java.lang.String timeZone)
The time zone for the hours of operation.
|
public java.lang.String getHoursOfOperationId()
The identifier for the hours of operation.
The identifier for the hours of operation.
public void setHoursOfOperationId(java.lang.String hoursOfOperationId)
The identifier for the hours of operation.
hoursOfOperationId - The identifier for the hours of operation.
public HoursOfOperation withHoursOfOperationId(java.lang.String hoursOfOperationId)
The identifier for the hours of operation.
Returns a reference to this object so that method calls can be chained together.
hoursOfOperationId - The identifier for the hours of operation.
public java.lang.String getHoursOfOperationArn()
The Amazon Resource Name (ARN) for the hours of operation.
The Amazon Resource Name (ARN) for the hours of operation.
public void setHoursOfOperationArn(java.lang.String hoursOfOperationArn)
The Amazon Resource Name (ARN) for the hours of operation.
hoursOfOperationArn - The Amazon Resource Name (ARN) for the hours of operation.
public HoursOfOperation withHoursOfOperationArn(java.lang.String hoursOfOperationArn)
The Amazon Resource Name (ARN) for the hours of operation.
Returns a reference to this object so that method calls can be chained together.
hoursOfOperationArn - The Amazon Resource Name (ARN) for the hours of operation.
public java.lang.String getName()
The name for the hours of operation.
Constraints:
Length: 1 - 127
The name for the hours of operation.
public void setName(java.lang.String name)
The name for the hours of operation.
Constraints:
Length: 1 - 127
name - The name for the hours of operation.
public HoursOfOperation withName(java.lang.String name)
The name for 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 for the hours of operation.
public java.lang.String getDescription()
The description for the hours of operation.
Constraints:
Length: 1 - 250
The description for the hours of operation.
public void setDescription(java.lang.String description)
The description for the hours of operation.
Constraints:
Length: 1 - 250
description - The description for the hours of operation.
public HoursOfOperation withDescription(java.lang.String description)
The description for the hours of operation.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 250
description - The description for the hours of operation.
public java.lang.String getTimeZone()
The time zone for the hours of operation.
The time zone for the hours of operation.
public void setTimeZone(java.lang.String timeZone)
The time zone for the hours of operation.
timeZone - The time zone for the hours of operation.
public HoursOfOperation withTimeZone(java.lang.String timeZone)
The time zone for the hours of operation.
Returns a reference to this object so that method calls can be chained together.
timeZone - The time zone for the hours of operation.
public java.util.List<HoursOfOperationConfig> getConfig()
Configuration information for the hours of operation.
Configuration information for the hours of operation.
public void setConfig(java.util.Collection<HoursOfOperationConfig> config)
Configuration information for the hours of operation.
config - Configuration information for the hours of operation.
public HoursOfOperation withConfig(HoursOfOperationConfig... config)
Configuration information for the hours of operation.
Returns a reference to this object so that method calls can be chained together.
config - Configuration information for the hours of operation.
public HoursOfOperation withConfig(java.util.Collection<HoursOfOperationConfig> config)
Configuration information for the hours of operation.
Returns a reference to this object so that method calls can be chained together.
config - Configuration information for the hours of operation.
public java.util.Map<java.lang.String,java.lang.String> getTags()
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
public void setTags(java.util.Map<java.lang.String,java.lang.String> tags)
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
tags - The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
public HoursOfOperation withTags(java.util.Map<java.lang.String,java.lang.String> tags)
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
Returns a reference to this object so that method calls can be chained together.
tags - The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
public HoursOfOperation addTagsEntry(java.lang.String key, java.lang.String value)
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
The method adds a new key-value pair into Tags parameter, and returns a reference to this object so that method calls can be chained together.
key - The key of the entry to be added into Tags.value - The corresponding value of the entry to be added into Tags.public HoursOfOperation clearTagsEntries()
Returns a reference to this object so that method calls can be chained together.
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