@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.RegionName
public String getRegionName()
The AWS Region name.
RegionName
public ResourceLocation withRegionName(String regionName)
The AWS Region name.
regionName
- The AWS Region name.RegionName
public void setRegionName(RegionName regionName)
The AWS Region name.
regionName
- The AWS Region name.RegionName
public ResourceLocation withRegionName(RegionName regionName)
The AWS Region name.
regionName
- The AWS Region name.RegionName
public String toString()
toString
in class Object
Object.toString()
public ResourceLocation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.