@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Site extends Object implements Serializable, Cloneable, StructuredPojo
Describes a site.
Constructor and Description |
---|
Site() |
Modifier and Type | Method and Description |
---|---|
Site |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedAt()
The date and time that the site was created.
|
String |
getDescription()
The description of the site.
|
String |
getGlobalNetworkId()
The ID of the global network.
|
Location |
getLocation()
The location of the site.
|
String |
getSiteArn()
The Amazon Resource Name (ARN) of the site.
|
String |
getSiteId()
The ID of the site.
|
String |
getState()
The state of the site.
|
List<Tag> |
getTags()
The tags for the site.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedAt(Date createdAt)
The date and time that the site was created.
|
void |
setDescription(String description)
The description of the site.
|
void |
setGlobalNetworkId(String globalNetworkId)
The ID of the global network.
|
void |
setLocation(Location location)
The location of the site.
|
void |
setSiteArn(String siteArn)
The Amazon Resource Name (ARN) of the site.
|
void |
setSiteId(String siteId)
The ID of the site.
|
void |
setState(String state)
The state of the site.
|
void |
setTags(Collection<Tag> tags)
The tags for the site.
|
String |
toString()
Returns a string representation of this object.
|
Site |
withCreatedAt(Date createdAt)
The date and time that the site was created.
|
Site |
withDescription(String description)
The description of the site.
|
Site |
withGlobalNetworkId(String globalNetworkId)
The ID of the global network.
|
Site |
withLocation(Location location)
The location of the site.
|
Site |
withSiteArn(String siteArn)
The Amazon Resource Name (ARN) of the site.
|
Site |
withSiteId(String siteId)
The ID of the site.
|
Site |
withState(SiteState state)
The state of the site.
|
Site |
withState(String state)
The state of the site.
|
Site |
withTags(Collection<Tag> tags)
The tags for the site.
|
Site |
withTags(Tag... tags)
The tags for the site.
|
public void setSiteId(String siteId)
The ID of the site.
siteId
- The ID of the site.public String getSiteId()
The ID of the site.
public Site withSiteId(String siteId)
The ID of the site.
siteId
- The ID of the site.public void setSiteArn(String siteArn)
The Amazon Resource Name (ARN) of the site.
siteArn
- The Amazon Resource Name (ARN) of the site.public String getSiteArn()
The Amazon Resource Name (ARN) of the site.
public Site withSiteArn(String siteArn)
The Amazon Resource Name (ARN) of the site.
siteArn
- The Amazon Resource Name (ARN) of the site.public void setGlobalNetworkId(String globalNetworkId)
The ID of the global network.
globalNetworkId
- The ID of the global network.public String getGlobalNetworkId()
The ID of the global network.
public Site withGlobalNetworkId(String globalNetworkId)
The ID of the global network.
globalNetworkId
- The ID of the global network.public void setDescription(String description)
The description of the site.
description
- The description of the site.public String getDescription()
The description of the site.
public Site withDescription(String description)
The description of the site.
description
- The description of the site.public void setLocation(Location location)
The location of the site.
location
- The location of the site.public Location getLocation()
The location of the site.
public Site withLocation(Location location)
The location of the site.
location
- The location of the site.public void setCreatedAt(Date createdAt)
The date and time that the site was created.
createdAt
- The date and time that the site was created.public Date getCreatedAt()
The date and time that the site was created.
public Site withCreatedAt(Date createdAt)
The date and time that the site was created.
createdAt
- The date and time that the site was created.public void setState(String state)
The state of the site.
state
- The state of the site.SiteState
public String getState()
The state of the site.
SiteState
public Site withState(String state)
The state of the site.
state
- The state of the site.SiteState
public Site withState(SiteState state)
The state of the site.
state
- The state of the site.SiteState
public void setTags(Collection<Tag> tags)
The tags for the site.
tags
- The tags for the site.public Site withTags(Tag... tags)
The tags for the site.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The tags for the site.public Site withTags(Collection<Tag> tags)
The tags for the site.
tags
- The tags for the site.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.