@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VPCConnectionSummary extends Object implements Serializable, Cloneable, StructuredPojo
The summary metadata that describes a VPC connection.
Constructor and Description |
---|
VPCConnectionSummary() |
Modifier and Type | Method and Description |
---|---|
VPCConnectionSummary |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the VPC connection.
|
String |
getAvailabilityStatus()
The availability status of the VPC connection.
|
Date |
getCreatedTime()
The time that the VPC connection was created.
|
List<String> |
getDnsResolvers()
A list of IP addresses of DNS resolver endpoints for the VPC connection.
|
Date |
getLastUpdatedTime()
The time that the VPC connection was last updated.
|
String |
getName()
The display name for the VPC connection.
|
List<NetworkInterface> |
getNetworkInterfaces()
A list of network interfaces.
|
String |
getRoleArn()
The ARN of the IAM role associated with the VPC connection.
|
List<String> |
getSecurityGroupIds()
The Amazon EC2 security group IDs associated with the VPC connection.
|
String |
getStatus()
The status of the VPC connection.
|
String |
getVPCConnectionId()
The ID of the VPC connection that you're creating.
|
String |
getVPCId()
The Amazon EC2 VPC ID associated with the VPC connection.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the VPC connection.
|
void |
setAvailabilityStatus(String availabilityStatus)
The availability status of the VPC connection.
|
void |
setCreatedTime(Date createdTime)
The time that the VPC connection was created.
|
void |
setDnsResolvers(Collection<String> dnsResolvers)
A list of IP addresses of DNS resolver endpoints for the VPC connection.
|
void |
setLastUpdatedTime(Date lastUpdatedTime)
The time that the VPC connection was last updated.
|
void |
setName(String name)
The display name for the VPC connection.
|
void |
setNetworkInterfaces(Collection<NetworkInterface> networkInterfaces)
A list of network interfaces.
|
void |
setRoleArn(String roleArn)
The ARN of the IAM role associated with the VPC connection.
|
void |
setSecurityGroupIds(Collection<String> securityGroupIds)
The Amazon EC2 security group IDs associated with the VPC connection.
|
void |
setStatus(String status)
The status of the VPC connection.
|
void |
setVPCConnectionId(String vPCConnectionId)
The ID of the VPC connection that you're creating.
|
void |
setVPCId(String vPCId)
The Amazon EC2 VPC ID associated with the VPC connection.
|
String |
toString()
Returns a string representation of this object.
|
VPCConnectionSummary |
withArn(String arn)
The Amazon Resource Name (ARN) of the VPC connection.
|
VPCConnectionSummary |
withAvailabilityStatus(String availabilityStatus)
The availability status of the VPC connection.
|
VPCConnectionSummary |
withAvailabilityStatus(VPCConnectionAvailabilityStatus availabilityStatus)
The availability status of the VPC connection.
|
VPCConnectionSummary |
withCreatedTime(Date createdTime)
The time that the VPC connection was created.
|
VPCConnectionSummary |
withDnsResolvers(Collection<String> dnsResolvers)
A list of IP addresses of DNS resolver endpoints for the VPC connection.
|
VPCConnectionSummary |
withDnsResolvers(String... dnsResolvers)
A list of IP addresses of DNS resolver endpoints for the VPC connection.
|
VPCConnectionSummary |
withLastUpdatedTime(Date lastUpdatedTime)
The time that the VPC connection was last updated.
|
VPCConnectionSummary |
withName(String name)
The display name for the VPC connection.
|
VPCConnectionSummary |
withNetworkInterfaces(Collection<NetworkInterface> networkInterfaces)
A list of network interfaces.
|
VPCConnectionSummary |
withNetworkInterfaces(NetworkInterface... networkInterfaces)
A list of network interfaces.
|
VPCConnectionSummary |
withRoleArn(String roleArn)
The ARN of the IAM role associated with the VPC connection.
|
VPCConnectionSummary |
withSecurityGroupIds(Collection<String> securityGroupIds)
The Amazon EC2 security group IDs associated with the VPC connection.
|
VPCConnectionSummary |
withSecurityGroupIds(String... securityGroupIds)
The Amazon EC2 security group IDs associated with the VPC connection.
|
VPCConnectionSummary |
withStatus(String status)
The status of the VPC connection.
|
VPCConnectionSummary |
withStatus(VPCConnectionResourceStatus status)
The status of the VPC connection.
|
VPCConnectionSummary |
withVPCConnectionId(String vPCConnectionId)
The ID of the VPC connection that you're creating.
|
VPCConnectionSummary |
withVPCId(String vPCId)
The Amazon EC2 VPC ID associated with the VPC connection.
|
public void setVPCConnectionId(String vPCConnectionId)
The ID of the VPC connection that you're creating. This ID is a unique identifier for each Amazon Web Services Region in an Amazon Web Services account.
vPCConnectionId
- The ID of the VPC connection that you're creating. This ID is a unique identifier for each Amazon Web
Services Region in an Amazon Web Services account.public String getVPCConnectionId()
The ID of the VPC connection that you're creating. This ID is a unique identifier for each Amazon Web Services Region in an Amazon Web Services account.
public VPCConnectionSummary withVPCConnectionId(String vPCConnectionId)
The ID of the VPC connection that you're creating. This ID is a unique identifier for each Amazon Web Services Region in an Amazon Web Services account.
vPCConnectionId
- The ID of the VPC connection that you're creating. This ID is a unique identifier for each Amazon Web
Services Region in an Amazon Web Services account.public void setArn(String arn)
The Amazon Resource Name (ARN) of the VPC connection.
arn
- The Amazon Resource Name (ARN) of the VPC connection.public String getArn()
The Amazon Resource Name (ARN) of the VPC connection.
public VPCConnectionSummary withArn(String arn)
The Amazon Resource Name (ARN) of the VPC connection.
arn
- The Amazon Resource Name (ARN) of the VPC connection.public void setName(String name)
The display name for the VPC connection.
name
- The display name for the VPC connection.public String getName()
The display name for the VPC connection.
public VPCConnectionSummary withName(String name)
The display name for the VPC connection.
name
- The display name for the VPC connection.public void setVPCId(String vPCId)
The Amazon EC2 VPC ID associated with the VPC connection.
vPCId
- The Amazon EC2 VPC ID associated with the VPC connection.public String getVPCId()
The Amazon EC2 VPC ID associated with the VPC connection.
public VPCConnectionSummary withVPCId(String vPCId)
The Amazon EC2 VPC ID associated with the VPC connection.
vPCId
- The Amazon EC2 VPC ID associated with the VPC connection.public List<String> getSecurityGroupIds()
The Amazon EC2 security group IDs associated with the VPC connection.
public void setSecurityGroupIds(Collection<String> securityGroupIds)
The Amazon EC2 security group IDs associated with the VPC connection.
securityGroupIds
- The Amazon EC2 security group IDs associated with the VPC connection.public VPCConnectionSummary withSecurityGroupIds(String... securityGroupIds)
The Amazon EC2 security group IDs associated with the VPC connection.
NOTE: This method appends the values to the existing list (if any). Use
setSecurityGroupIds(java.util.Collection)
or withSecurityGroupIds(java.util.Collection)
if you
want to override the existing values.
securityGroupIds
- The Amazon EC2 security group IDs associated with the VPC connection.public VPCConnectionSummary withSecurityGroupIds(Collection<String> securityGroupIds)
The Amazon EC2 security group IDs associated with the VPC connection.
securityGroupIds
- The Amazon EC2 security group IDs associated with the VPC connection.public List<String> getDnsResolvers()
A list of IP addresses of DNS resolver endpoints for the VPC connection.
public void setDnsResolvers(Collection<String> dnsResolvers)
A list of IP addresses of DNS resolver endpoints for the VPC connection.
dnsResolvers
- A list of IP addresses of DNS resolver endpoints for the VPC connection.public VPCConnectionSummary withDnsResolvers(String... dnsResolvers)
A list of IP addresses of DNS resolver endpoints for the VPC connection.
NOTE: This method appends the values to the existing list (if any). Use
setDnsResolvers(java.util.Collection)
or withDnsResolvers(java.util.Collection)
if you want to
override the existing values.
dnsResolvers
- A list of IP addresses of DNS resolver endpoints for the VPC connection.public VPCConnectionSummary withDnsResolvers(Collection<String> dnsResolvers)
A list of IP addresses of DNS resolver endpoints for the VPC connection.
dnsResolvers
- A list of IP addresses of DNS resolver endpoints for the VPC connection.public void setStatus(String status)
The status of the VPC connection.
status
- The status of the VPC connection.VPCConnectionResourceStatus
public String getStatus()
The status of the VPC connection.
VPCConnectionResourceStatus
public VPCConnectionSummary withStatus(String status)
The status of the VPC connection.
status
- The status of the VPC connection.VPCConnectionResourceStatus
public VPCConnectionSummary withStatus(VPCConnectionResourceStatus status)
The status of the VPC connection.
status
- The status of the VPC connection.VPCConnectionResourceStatus
public void setAvailabilityStatus(String availabilityStatus)
The availability status of the VPC connection.
availabilityStatus
- The availability status of the VPC connection.VPCConnectionAvailabilityStatus
public String getAvailabilityStatus()
The availability status of the VPC connection.
VPCConnectionAvailabilityStatus
public VPCConnectionSummary withAvailabilityStatus(String availabilityStatus)
The availability status of the VPC connection.
availabilityStatus
- The availability status of the VPC connection.VPCConnectionAvailabilityStatus
public VPCConnectionSummary withAvailabilityStatus(VPCConnectionAvailabilityStatus availabilityStatus)
The availability status of the VPC connection.
availabilityStatus
- The availability status of the VPC connection.VPCConnectionAvailabilityStatus
public List<NetworkInterface> getNetworkInterfaces()
A list of network interfaces.
public void setNetworkInterfaces(Collection<NetworkInterface> networkInterfaces)
A list of network interfaces.
networkInterfaces
- A list of network interfaces.public VPCConnectionSummary withNetworkInterfaces(NetworkInterface... networkInterfaces)
A list of network interfaces.
NOTE: This method appends the values to the existing list (if any). Use
setNetworkInterfaces(java.util.Collection)
or withNetworkInterfaces(java.util.Collection)
if
you want to override the existing values.
networkInterfaces
- A list of network interfaces.public VPCConnectionSummary withNetworkInterfaces(Collection<NetworkInterface> networkInterfaces)
A list of network interfaces.
networkInterfaces
- A list of network interfaces.public void setRoleArn(String roleArn)
The ARN of the IAM role associated with the VPC connection.
roleArn
- The ARN of the IAM role associated with the VPC connection.public String getRoleArn()
The ARN of the IAM role associated with the VPC connection.
public VPCConnectionSummary withRoleArn(String roleArn)
The ARN of the IAM role associated with the VPC connection.
roleArn
- The ARN of the IAM role associated with the VPC connection.public void setCreatedTime(Date createdTime)
The time that the VPC connection was created.
createdTime
- The time that the VPC connection was created.public Date getCreatedTime()
The time that the VPC connection was created.
public VPCConnectionSummary withCreatedTime(Date createdTime)
The time that the VPC connection was created.
createdTime
- The time that the VPC connection was created.public void setLastUpdatedTime(Date lastUpdatedTime)
The time that the VPC connection was last updated.
lastUpdatedTime
- The time that the VPC connection was last updated.public Date getLastUpdatedTime()
The time that the VPC connection was last updated.
public VPCConnectionSummary withLastUpdatedTime(Date lastUpdatedTime)
The time that the VPC connection was last updated.
lastUpdatedTime
- The time that the VPC connection was last updated.public String toString()
toString
in class Object
Object.toString()
public VPCConnectionSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.