public class VpcDestinationProperties
extends java.lang.Object
implements java.io.Serializable
The properties of a virtual private cloud (VPC) destination.
Constructor and Description |
---|
VpcDestinationProperties() |
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.
|
VpcDestinationProperties |
withRoleArn(java.lang.String roleArn)
The ARN of a role that has permission to create and attach to elastic
network interfaces (ENIs).
|
VpcDestinationProperties |
withSecurityGroups(java.util.Collection<java.lang.String> securityGroups)
The security groups of the VPC destination.
|
VpcDestinationProperties |
withSecurityGroups(java.lang.String... securityGroups)
The security groups of the VPC destination.
|
VpcDestinationProperties |
withSubnetIds(java.util.Collection<java.lang.String> subnetIds)
The subnet IDs of the VPC destination.
|
VpcDestinationProperties |
withSubnetIds(java.lang.String... subnetIds)
The subnet IDs of the VPC destination.
|
VpcDestinationProperties |
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 VpcDestinationProperties 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 VpcDestinationProperties 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 VpcDestinationProperties 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 VpcDestinationProperties 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 VpcDestinationProperties 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 VpcDestinationProperties 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.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.