@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HoursOfOperation extends Object implements Serializable, Cloneable, StructuredPojo
Information about of the hours of operation.
Constructor and Description |
---|
HoursOfOperation() |
Modifier and Type | Method and Description |
---|---|
HoursOfOperation |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
HoursOfOperation |
clearTagsEntries()
Removes all the entries added into Tags.
|
HoursOfOperation |
clone() |
boolean |
equals(Object obj) |
List<HoursOfOperationConfig> |
getConfig()
Configuration information for the hours of operation.
|
String |
getDescription()
The description for the hours of operation.
|
String |
getHoursOfOperationArn()
The Amazon Resource Name (ARN) for the hours of operation.
|
String |
getHoursOfOperationId()
The identifier for the hours of operation.
|
String |
getLastModifiedRegion()
The Amazon Web Services Region where this resource was last modified.
|
Date |
getLastModifiedTime()
The timestamp when this resource was last modified.
|
String |
getName()
The name for 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 for the hours of operation.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConfig(Collection<HoursOfOperationConfig> config)
Configuration information for the hours of operation.
|
void |
setDescription(String description)
The description for the hours of operation.
|
void |
setHoursOfOperationArn(String hoursOfOperationArn)
The Amazon Resource Name (ARN) for the hours of operation.
|
void |
setHoursOfOperationId(String hoursOfOperationId)
The identifier for the hours of operation.
|
void |
setLastModifiedRegion(String lastModifiedRegion)
The Amazon Web Services Region where this resource was last modified.
|
void |
setLastModifiedTime(Date lastModifiedTime)
The timestamp when this resource was last modified.
|
void |
setName(String name)
The name for 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 for the hours of operation.
|
String |
toString()
Returns a string representation of this object.
|
HoursOfOperation |
withConfig(Collection<HoursOfOperationConfig> config)
Configuration information for the hours of operation.
|
HoursOfOperation |
withConfig(HoursOfOperationConfig... config)
Configuration information for the hours of operation.
|
HoursOfOperation |
withDescription(String description)
The description for the hours of operation.
|
HoursOfOperation |
withHoursOfOperationArn(String hoursOfOperationArn)
The Amazon Resource Name (ARN) for the hours of operation.
|
HoursOfOperation |
withHoursOfOperationId(String hoursOfOperationId)
The identifier for the hours of operation.
|
HoursOfOperation |
withLastModifiedRegion(String lastModifiedRegion)
The Amazon Web Services Region where this resource was last modified.
|
HoursOfOperation |
withLastModifiedTime(Date lastModifiedTime)
The timestamp when this resource was last modified.
|
HoursOfOperation |
withName(String name)
The name for the hours of operation.
|
HoursOfOperation |
withTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
|
HoursOfOperation |
withTimeZone(String timeZone)
The time zone for the hours of operation.
|
public void setHoursOfOperationId(String hoursOfOperationId)
The identifier for the hours of operation.
hoursOfOperationId
- The identifier for the hours of operation.public String getHoursOfOperationId()
The identifier for the hours of operation.
public HoursOfOperation withHoursOfOperationId(String hoursOfOperationId)
The identifier for the hours of operation.
hoursOfOperationId
- The identifier for the hours of operation.public void setHoursOfOperationArn(String hoursOfOperationArn)
The Amazon Resource Name (ARN) for the hours of operation.
hoursOfOperationArn
- The Amazon Resource Name (ARN) for the hours of operation.public String getHoursOfOperationArn()
The Amazon Resource Name (ARN) for the hours of operation.
public HoursOfOperation withHoursOfOperationArn(String hoursOfOperationArn)
The Amazon Resource Name (ARN) for the hours of operation.
hoursOfOperationArn
- The Amazon Resource Name (ARN) for the hours of operation.public void setName(String name)
The name for the hours of operation.
name
- The name for the hours of operation.public String getName()
The name for the hours of operation.
public HoursOfOperation withName(String name)
The name for the hours of operation.
name
- The name for the hours of operation.public void setDescription(String description)
The description for the hours of operation.
description
- The description for the hours of operation.public String getDescription()
The description for the hours of operation.
public HoursOfOperation withDescription(String description)
The description for the hours of operation.
description
- The description for the hours of operation.public void setTimeZone(String timeZone)
The time zone for the hours of operation.
timeZone
- The time zone for the hours of operation.public String getTimeZone()
The time zone for the hours of operation.
public HoursOfOperation withTimeZone(String timeZone)
The time zone for the hours of operation.
timeZone
- The time zone for the hours of operation.public List<HoursOfOperationConfig> getConfig()
Configuration information for the hours of operation.
public void setConfig(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.
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.public HoursOfOperation withConfig(Collection<HoursOfOperationConfig> config)
Configuration information for the hours of operation.
config
- Configuration information for the hours of operation.public Map<String,String> getTags()
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
public void setTags(Map<String,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(Map<String,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 addTagsEntry(String key, String value)
public HoursOfOperation clearTagsEntries()
public void setLastModifiedTime(Date lastModifiedTime)
The timestamp when this resource was last modified.
lastModifiedTime
- The timestamp when this resource was last modified.public Date getLastModifiedTime()
The timestamp when this resource was last modified.
public HoursOfOperation withLastModifiedTime(Date lastModifiedTime)
The timestamp when this resource was last modified.
lastModifiedTime
- The timestamp when this resource was last modified.public void setLastModifiedRegion(String lastModifiedRegion)
The Amazon Web Services Region where this resource was last modified.
lastModifiedRegion
- The Amazon Web Services Region where this resource was last modified.public String getLastModifiedRegion()
The Amazon Web Services Region where this resource was last modified.
public HoursOfOperation withLastModifiedRegion(String lastModifiedRegion)
The Amazon Web Services Region where this resource was last modified.
lastModifiedRegion
- The Amazon Web Services Region where this resource was last modified.public String toString()
toString
in class Object
Object.toString()
public HoursOfOperation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.