@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VpcDestinationSummary extends Object implements Serializable, Cloneable, StructuredPojo
The summary of a virtual private cloud (VPC) destination.
Constructor and Description |
---|
VpcDestinationSummary() |
Modifier and Type | Method and Description |
---|---|
VpcDestinationSummary |
clone() |
boolean |
equals(Object obj) |
String |
getRoleArn()
The ARN of a role that has permission to create and attach to elastic network interfaces (ENIs).
|
List<String> |
getSecurityGroups()
The security groups of the VPC destination.
|
List<String> |
getSubnetIds()
The subnet IDs of the VPC destination.
|
String |
getVpcId()
The ID of the VPC.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setRoleArn(String roleArn)
The ARN of a role that has permission to create and attach to elastic network interfaces (ENIs).
|
void |
setSecurityGroups(Collection<String> securityGroups)
The security groups of the VPC destination.
|
void |
setSubnetIds(Collection<String> subnetIds)
The subnet IDs of the VPC destination.
|
void |
setVpcId(String vpcId)
The ID of the VPC.
|
String |
toString()
Returns a string representation of this object.
|
VpcDestinationSummary |
withRoleArn(String roleArn)
The ARN of a role that has permission to create and attach to elastic network interfaces (ENIs).
|
VpcDestinationSummary |
withSecurityGroups(Collection<String> securityGroups)
The security groups of the VPC destination.
|
VpcDestinationSummary |
withSecurityGroups(String... securityGroups)
The security groups of the VPC destination.
|
VpcDestinationSummary |
withSubnetIds(Collection<String> subnetIds)
The subnet IDs of the VPC destination.
|
VpcDestinationSummary |
withSubnetIds(String... subnetIds)
The subnet IDs of the VPC destination.
|
VpcDestinationSummary |
withVpcId(String vpcId)
The ID of the VPC.
|
public List<String> getSubnetIds()
The subnet IDs of the VPC destination.
public void setSubnetIds(Collection<String> subnetIds)
The subnet IDs of the VPC destination.
subnetIds
- The subnet IDs of the VPC destination.public VpcDestinationSummary withSubnetIds(String... subnetIds)
The subnet IDs of the VPC destination.
NOTE: This method appends the values to the existing list (if any). Use
setSubnetIds(java.util.Collection)
or withSubnetIds(java.util.Collection)
if you want to
override the existing values.
subnetIds
- The subnet IDs of the VPC destination.public VpcDestinationSummary withSubnetIds(Collection<String> subnetIds)
The subnet IDs of the VPC destination.
subnetIds
- The subnet IDs of the VPC destination.public List<String> getSecurityGroups()
The security groups of the VPC destination.
public void setSecurityGroups(Collection<String> securityGroups)
The security groups of the VPC destination.
securityGroups
- The security groups of the VPC destination.public VpcDestinationSummary withSecurityGroups(String... securityGroups)
The security groups of the VPC destination.
NOTE: This method appends the values to the existing list (if any). Use
setSecurityGroups(java.util.Collection)
or withSecurityGroups(java.util.Collection)
if you want
to override the existing values.
securityGroups
- The security groups of the VPC destination.public VpcDestinationSummary withSecurityGroups(Collection<String> securityGroups)
The security groups of the VPC destination.
securityGroups
- The security groups of the VPC destination.public void setVpcId(String vpcId)
The ID of the VPC.
vpcId
- The ID of the VPC.public String getVpcId()
The ID of the VPC.
public VpcDestinationSummary withVpcId(String vpcId)
The ID of the VPC.
vpcId
- The ID of the VPC.public void setRoleArn(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 String getRoleArn()
The ARN of a role that has permission to create and attach to elastic network interfaces (ENIs).
public VpcDestinationSummary withRoleArn(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 String toString()
toString
in class Object
Object.toString()
public VpcDestinationSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.