@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceLocation extends Object implements Serializable, Cloneable, StructuredPojo
Describes the resource location.
| Constructor and Description |
|---|
ResourceLocation() |
| Modifier and Type | Method and Description |
|---|---|
ResourceLocation |
clone() |
boolean |
equals(Object obj) |
String |
getAvailabilityZone()
The Availability Zone.
|
String |
getRegionName()
The AWS Region name.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAvailabilityZone(String availabilityZone)
The Availability Zone.
|
void |
setRegionName(RegionName regionName)
The AWS Region name.
|
void |
setRegionName(String regionName)
The AWS Region name.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ResourceLocation |
withAvailabilityZone(String availabilityZone)
The Availability Zone.
|
ResourceLocation |
withRegionName(RegionName regionName)
The AWS Region name.
|
ResourceLocation |
withRegionName(String regionName)
The AWS Region name.
|
public void setAvailabilityZone(String availabilityZone)
The Availability Zone. Follows the format us-east-1a (case-sensitive).
availabilityZone - The Availability Zone. Follows the format us-east-1a (case-sensitive).public String getAvailabilityZone()
The Availability Zone. Follows the format us-east-1a (case-sensitive).
us-east-1a (case-sensitive).public ResourceLocation withAvailabilityZone(String availabilityZone)
The Availability Zone. Follows the format us-east-1a (case-sensitive).
availabilityZone - The Availability Zone. Follows the format us-east-1a (case-sensitive).public void setRegionName(String regionName)
The AWS Region name.
regionName - The AWS Region name.RegionNamepublic String getRegionName()
The AWS Region name.
RegionNamepublic ResourceLocation withRegionName(String regionName)
The AWS Region name.
regionName - The AWS Region name.RegionNamepublic void setRegionName(RegionName regionName)
The AWS Region name.
regionName - The AWS Region name.RegionNamepublic ResourceLocation withRegionName(RegionName regionName)
The AWS Region name.
regionName - The AWS Region name.RegionNamepublic String toString()
toString in class ObjectObject.toString()public ResourceLocation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.