@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Site extends Object implements Serializable, Cloneable, StructuredPojo
Facility containing destinations, workers, activities, and tasks.
Constructor and Description |
---|
Site() |
Modifier and Type | Method and Description |
---|---|
Site |
clone() |
boolean |
equals(Object obj) |
String |
getArn() |
String |
getCountryCode() |
Date |
getCreatedAt() |
String |
getName()
The name of the site.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn) |
void |
setCountryCode(String countryCode) |
void |
setCreatedAt(Date createdAt) |
void |
setName(String name)
The name of the site.
|
String |
toString()
Returns a string representation of this object.
|
Site |
withArn(String arn) |
Site |
withCountryCode(String countryCode) |
Site |
withCreatedAt(Date createdAt) |
Site |
withName(String name)
The name of the site.
|
public void setArn(String arn)
arn
- public String getArn()
public Site withArn(String arn)
arn
- public void setName(String name)
The name of the site. Mutable after creation and unique within a given account.
name
- The name of the site. Mutable after creation and unique within a given account.public String getName()
The name of the site. Mutable after creation and unique within a given account.
public Site withName(String name)
The name of the site. Mutable after creation and unique within a given account.
name
- The name of the site. Mutable after creation and unique within a given account.public void setCountryCode(String countryCode)
countryCode
- public String getCountryCode()
public Site withCountryCode(String countryCode)
countryCode
- public void setCreatedAt(Date createdAt)
createdAt
- public Date getCreatedAt()
public Site withCreatedAt(Date createdAt)
createdAt
- 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.