@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSLocation extends Object implements Serializable, Cloneable, StructuredPojo
Specifies a location in Amazon Web Services.
| Constructor and Description |
|---|
AWSLocation() |
| Modifier and Type | Method and Description |
|---|---|
AWSLocation |
clone() |
boolean |
equals(Object obj) |
String |
getSubnetArn()
The Amazon Resource Name (ARN) of the subnet that the device is located in.
|
String |
getZone()
The Zone that the device is located in.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setSubnetArn(String subnetArn)
The Amazon Resource Name (ARN) of the subnet that the device is located in.
|
void |
setZone(String zone)
The Zone that the device is located in.
|
String |
toString()
Returns a string representation of this object.
|
AWSLocation |
withSubnetArn(String subnetArn)
The Amazon Resource Name (ARN) of the subnet that the device is located in.
|
AWSLocation |
withZone(String zone)
The Zone that the device is located in.
|
public void setZone(String zone)
The Zone that the device is located in. Specify the ID of an Availability Zone, Local Zone, Wavelength Zone, or an Outpost.
zone - The Zone that the device is located in. Specify the ID of an Availability Zone, Local Zone, Wavelength
Zone, or an Outpost.public String getZone()
The Zone that the device is located in. Specify the ID of an Availability Zone, Local Zone, Wavelength Zone, or an Outpost.
public AWSLocation withZone(String zone)
The Zone that the device is located in. Specify the ID of an Availability Zone, Local Zone, Wavelength Zone, or an Outpost.
zone - The Zone that the device is located in. Specify the ID of an Availability Zone, Local Zone, Wavelength
Zone, or an Outpost.public void setSubnetArn(String subnetArn)
The Amazon Resource Name (ARN) of the subnet that the device is located in.
subnetArn - The Amazon Resource Name (ARN) of the subnet that the device is located in.public String getSubnetArn()
The Amazon Resource Name (ARN) of the subnet that the device is located in.
public AWSLocation withSubnetArn(String subnetArn)
The Amazon Resource Name (ARN) of the subnet that the device is located in.
subnetArn - The Amazon Resource Name (ARN) of the subnet that the device is located in.public String toString()
toString in class ObjectObject.toString()public AWSLocation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.