@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StaticIp extends Object implements Serializable, Cloneable, StructuredPojo
Describes the static IP.
Constructor and Description |
---|
StaticIp() |
Modifier and Type | Method and Description |
---|---|
StaticIp |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the static IP (e.g.,
arn:aws:lightsail:us-east-1:123456789101:StaticIp/9cbb4a9e-f8e3-4dfe-b57e-12345EXAMPLE ). |
String |
getAttachedTo()
The instance where the static IP is attached (e.g.,
Amazon_Linux-1GB-Virginia-1 ). |
Date |
getCreatedAt()
The timestamp when the static IP was created (e.g.,
1479735304.222 ). |
String |
getIpAddress()
The static IP address.
|
Boolean |
getIsAttached()
A Boolean value indicating whether the static IP is attached.
|
ResourceLocation |
getLocation()
The region and Availability Zone where the static IP was created.
|
String |
getName()
The name of the static IP (e.g.,
StaticIP-Virginia-EXAMPLE ). |
String |
getResourceType()
The resource type (usually
StaticIp ). |
String |
getSupportCode()
The support code.
|
int |
hashCode() |
Boolean |
isAttached()
A Boolean value indicating whether the static IP is attached.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the static IP (e.g.,
arn:aws:lightsail:us-east-1:123456789101:StaticIp/9cbb4a9e-f8e3-4dfe-b57e-12345EXAMPLE ). |
void |
setAttachedTo(String attachedTo)
The instance where the static IP is attached (e.g.,
Amazon_Linux-1GB-Virginia-1 ). |
void |
setCreatedAt(Date createdAt)
The timestamp when the static IP was created (e.g.,
1479735304.222 ). |
void |
setIpAddress(String ipAddress)
The static IP address.
|
void |
setIsAttached(Boolean isAttached)
A Boolean value indicating whether the static IP is attached.
|
void |
setLocation(ResourceLocation location)
The region and Availability Zone where the static IP was created.
|
void |
setName(String name)
The name of the static IP (e.g.,
StaticIP-Virginia-EXAMPLE ). |
void |
setResourceType(ResourceType resourceType)
The resource type (usually
StaticIp ). |
void |
setResourceType(String resourceType)
The resource type (usually
StaticIp ). |
void |
setSupportCode(String supportCode)
The support code.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
StaticIp |
withArn(String arn)
The Amazon Resource Name (ARN) of the static IP (e.g.,
arn:aws:lightsail:us-east-1:123456789101:StaticIp/9cbb4a9e-f8e3-4dfe-b57e-12345EXAMPLE ). |
StaticIp |
withAttachedTo(String attachedTo)
The instance where the static IP is attached (e.g.,
Amazon_Linux-1GB-Virginia-1 ). |
StaticIp |
withCreatedAt(Date createdAt)
The timestamp when the static IP was created (e.g.,
1479735304.222 ). |
StaticIp |
withIpAddress(String ipAddress)
The static IP address.
|
StaticIp |
withIsAttached(Boolean isAttached)
A Boolean value indicating whether the static IP is attached.
|
StaticIp |
withLocation(ResourceLocation location)
The region and Availability Zone where the static IP was created.
|
StaticIp |
withName(String name)
The name of the static IP (e.g.,
StaticIP-Virginia-EXAMPLE ). |
StaticIp |
withResourceType(ResourceType resourceType)
The resource type (usually
StaticIp ). |
StaticIp |
withResourceType(String resourceType)
The resource type (usually
StaticIp ). |
StaticIp |
withSupportCode(String supportCode)
The support code.
|
public void setName(String name)
The name of the static IP (e.g., StaticIP-Virginia-EXAMPLE
).
name
- The name of the static IP (e.g., StaticIP-Virginia-EXAMPLE
).public String getName()
The name of the static IP (e.g., StaticIP-Virginia-EXAMPLE
).
StaticIP-Virginia-EXAMPLE
).public StaticIp withName(String name)
The name of the static IP (e.g., StaticIP-Virginia-EXAMPLE
).
name
- The name of the static IP (e.g., StaticIP-Virginia-EXAMPLE
).public void setArn(String arn)
The Amazon Resource Name (ARN) of the static IP (e.g.,
arn:aws:lightsail:us-east-1:123456789101:StaticIp/9cbb4a9e-f8e3-4dfe-b57e-12345EXAMPLE
).
arn
- The Amazon Resource Name (ARN) of the static IP (e.g.,
arn:aws:lightsail:us-east-1:123456789101:StaticIp/9cbb4a9e-f8e3-4dfe-b57e-12345EXAMPLE
).public String getArn()
The Amazon Resource Name (ARN) of the static IP (e.g.,
arn:aws:lightsail:us-east-1:123456789101:StaticIp/9cbb4a9e-f8e3-4dfe-b57e-12345EXAMPLE
).
arn:aws:lightsail:us-east-1:123456789101:StaticIp/9cbb4a9e-f8e3-4dfe-b57e-12345EXAMPLE
).public StaticIp withArn(String arn)
The Amazon Resource Name (ARN) of the static IP (e.g.,
arn:aws:lightsail:us-east-1:123456789101:StaticIp/9cbb4a9e-f8e3-4dfe-b57e-12345EXAMPLE
).
arn
- The Amazon Resource Name (ARN) of the static IP (e.g.,
arn:aws:lightsail:us-east-1:123456789101:StaticIp/9cbb4a9e-f8e3-4dfe-b57e-12345EXAMPLE
).public void setSupportCode(String supportCode)
The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.
supportCode
- The support code. Include this code in your email to support when you have questions about an instance or
another resource in Lightsail. This code enables our support team to look up your Lightsail information
more easily.public String getSupportCode()
The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.
public StaticIp withSupportCode(String supportCode)
The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.
supportCode
- The support code. Include this code in your email to support when you have questions about an instance or
another resource in Lightsail. This code enables our support team to look up your Lightsail information
more easily.public void setCreatedAt(Date createdAt)
The timestamp when the static IP was created (e.g., 1479735304.222
).
createdAt
- The timestamp when the static IP was created (e.g., 1479735304.222
).public Date getCreatedAt()
The timestamp when the static IP was created (e.g., 1479735304.222
).
1479735304.222
).public StaticIp withCreatedAt(Date createdAt)
The timestamp when the static IP was created (e.g., 1479735304.222
).
createdAt
- The timestamp when the static IP was created (e.g., 1479735304.222
).public void setLocation(ResourceLocation location)
The region and Availability Zone where the static IP was created.
location
- The region and Availability Zone where the static IP was created.public ResourceLocation getLocation()
The region and Availability Zone where the static IP was created.
public StaticIp withLocation(ResourceLocation location)
The region and Availability Zone where the static IP was created.
location
- The region and Availability Zone where the static IP was created.public void setResourceType(String resourceType)
The resource type (usually StaticIp
).
resourceType
- The resource type (usually StaticIp
).ResourceType
public String getResourceType()
The resource type (usually StaticIp
).
StaticIp
).ResourceType
public StaticIp withResourceType(String resourceType)
The resource type (usually StaticIp
).
resourceType
- The resource type (usually StaticIp
).ResourceType
public void setResourceType(ResourceType resourceType)
The resource type (usually StaticIp
).
resourceType
- The resource type (usually StaticIp
).ResourceType
public StaticIp withResourceType(ResourceType resourceType)
The resource type (usually StaticIp
).
resourceType
- The resource type (usually StaticIp
).ResourceType
public void setIpAddress(String ipAddress)
The static IP address.
ipAddress
- The static IP address.public String getIpAddress()
The static IP address.
public StaticIp withIpAddress(String ipAddress)
The static IP address.
ipAddress
- The static IP address.public void setAttachedTo(String attachedTo)
The instance where the static IP is attached (e.g., Amazon_Linux-1GB-Virginia-1
).
attachedTo
- The instance where the static IP is attached (e.g., Amazon_Linux-1GB-Virginia-1
).public String getAttachedTo()
The instance where the static IP is attached (e.g., Amazon_Linux-1GB-Virginia-1
).
Amazon_Linux-1GB-Virginia-1
).public StaticIp withAttachedTo(String attachedTo)
The instance where the static IP is attached (e.g., Amazon_Linux-1GB-Virginia-1
).
attachedTo
- The instance where the static IP is attached (e.g., Amazon_Linux-1GB-Virginia-1
).public void setIsAttached(Boolean isAttached)
A Boolean value indicating whether the static IP is attached.
isAttached
- A Boolean value indicating whether the static IP is attached.public Boolean getIsAttached()
A Boolean value indicating whether the static IP is attached.
public StaticIp withIsAttached(Boolean isAttached)
A Boolean value indicating whether the static IP is attached.
isAttached
- A Boolean value indicating whether the static IP is attached.public Boolean isAttached()
A Boolean value indicating whether the static IP is attached.
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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.