public class VpcDestinationSummary
extends java.lang.Object
implements java.io.Serializable
The summary of a virtual private cloud (VPC) destination.
| Constructor and Description |
|---|
VpcDestinationSummary() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getRoleArn()
The ARN of a role that has permission to create and attach to elastic
network interfaces (ENIs).
|
java.util.List<java.lang.String> |
getSecurityGroups()
The security groups of the VPC destination.
|
java.util.List<java.lang.String> |
getSubnetIds()
The subnet IDs of the VPC destination.
|
java.lang.String |
getVpcId()
The ID of the VPC.
|
int |
hashCode() |
void |
setRoleArn(java.lang.String roleArn)
The ARN of a role that has permission to create and attach to elastic
network interfaces (ENIs).
|
void |
setSecurityGroups(java.util.Collection<java.lang.String> securityGroups)
The security groups of the VPC destination.
|
void |
setSubnetIds(java.util.Collection<java.lang.String> subnetIds)
The subnet IDs of the VPC destination.
|
void |
setVpcId(java.lang.String vpcId)
The ID of the VPC.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
VpcDestinationSummary |
withRoleArn(java.lang.String roleArn)
The ARN of a role that has permission to create and attach to elastic
network interfaces (ENIs).
|
VpcDestinationSummary |
withSecurityGroups(java.util.Collection<java.lang.String> securityGroups)
The security groups of the VPC destination.
|
VpcDestinationSummary |
withSecurityGroups(java.lang.String... securityGroups)
The security groups of the VPC destination.
|
VpcDestinationSummary |
withSubnetIds(java.util.Collection<java.lang.String> subnetIds)
The subnet IDs of the VPC destination.
|
VpcDestinationSummary |
withSubnetIds(java.lang.String... subnetIds)
The subnet IDs of the VPC destination.
|
VpcDestinationSummary |
withVpcId(java.lang.String vpcId)
The ID of the VPC.
|
public java.util.List<java.lang.String> getSubnetIds()
The subnet IDs of the VPC destination.
The subnet IDs of the VPC destination.
public void setSubnetIds(java.util.Collection<java.lang.String> subnetIds)
The subnet IDs of the VPC destination.
subnetIds - The subnet IDs of the VPC destination.
public VpcDestinationSummary withSubnetIds(java.lang.String... subnetIds)
The subnet IDs of the VPC destination.
Returns a reference to this object so that method calls can be chained together.
subnetIds - The subnet IDs of the VPC destination.
public VpcDestinationSummary withSubnetIds(java.util.Collection<java.lang.String> subnetIds)
The subnet IDs of the VPC destination.
Returns a reference to this object so that method calls can be chained together.
subnetIds - The subnet IDs of the VPC destination.
public java.util.List<java.lang.String> getSecurityGroups()
The security groups of the VPC destination.
The security groups of the VPC destination.
public void setSecurityGroups(java.util.Collection<java.lang.String> securityGroups)
The security groups of the VPC destination.
securityGroups - The security groups of the VPC destination.
public VpcDestinationSummary withSecurityGroups(java.lang.String... securityGroups)
The security groups of the VPC destination.
Returns a reference to this object so that method calls can be chained together.
securityGroups - The security groups of the VPC destination.
public VpcDestinationSummary withSecurityGroups(java.util.Collection<java.lang.String> securityGroups)
The security groups of the VPC destination.
Returns a reference to this object so that method calls can be chained together.
securityGroups - The security groups of the VPC destination.
public java.lang.String getVpcId()
The ID of the VPC.
The ID of the VPC.
public void setVpcId(java.lang.String vpcId)
The ID of the VPC.
vpcId - The ID of the VPC.
public VpcDestinationSummary withVpcId(java.lang.String vpcId)
The ID of the VPC.
Returns a reference to this object so that method calls can be chained together.
vpcId - The ID of the VPC.
public java.lang.String getRoleArn()
The ARN of a role that has permission to create and attach to elastic network interfaces (ENIs).
The ARN of a role that has permission to create and attach to elastic network interfaces (ENIs).
public void setRoleArn(java.lang.String roleArn)
The ARN of a role that has permission to create and attach to elastic network interfaces (ENIs).
roleArn - The ARN of a role that has permission to create and attach to elastic network interfaces (ENIs).
public VpcDestinationSummary withRoleArn(java.lang.String roleArn)
The ARN of a role that has permission to create and attach to elastic network interfaces (ENIs).
Returns a reference to this object so that method calls can be chained together.
roleArn - The ARN of a role that has permission to create and attach to elastic network interfaces (ENIs).
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.