@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AllowCustomRoutingTrafficRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
AllowCustomRoutingTrafficRequest() |
Modifier and Type | Method and Description |
---|---|
AllowCustomRoutingTrafficRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getAllowAllTrafficToEndpoint()
Indicates whether all destination IP addresses and ports for a specified VPC subnet endpoint can receive traffic
from a custom routing accelerator.
|
List<String> |
getDestinationAddresses()
A list of specific Amazon EC2 instance IP addresses (destination addresses) in a subnet that you want to allow to
receive traffic.
|
List<Integer> |
getDestinationPorts()
A list of specific Amazon EC2 instance ports (destination ports) that you want to allow to receive traffic.
|
String |
getEndpointGroupArn()
The Amazon Resource Name (ARN) of the endpoint group.
|
String |
getEndpointId()
An ID for the endpoint.
|
int |
hashCode() |
Boolean |
isAllowAllTrafficToEndpoint()
Indicates whether all destination IP addresses and ports for a specified VPC subnet endpoint can receive traffic
from a custom routing accelerator.
|
void |
setAllowAllTrafficToEndpoint(Boolean allowAllTrafficToEndpoint)
Indicates whether all destination IP addresses and ports for a specified VPC subnet endpoint can receive traffic
from a custom routing accelerator.
|
void |
setDestinationAddresses(Collection<String> destinationAddresses)
A list of specific Amazon EC2 instance IP addresses (destination addresses) in a subnet that you want to allow to
receive traffic.
|
void |
setDestinationPorts(Collection<Integer> destinationPorts)
A list of specific Amazon EC2 instance ports (destination ports) that you want to allow to receive traffic.
|
void |
setEndpointGroupArn(String endpointGroupArn)
The Amazon Resource Name (ARN) of the endpoint group.
|
void |
setEndpointId(String endpointId)
An ID for the endpoint.
|
String |
toString()
Returns a string representation of this object.
|
AllowCustomRoutingTrafficRequest |
withAllowAllTrafficToEndpoint(Boolean allowAllTrafficToEndpoint)
Indicates whether all destination IP addresses and ports for a specified VPC subnet endpoint can receive traffic
from a custom routing accelerator.
|
AllowCustomRoutingTrafficRequest |
withDestinationAddresses(Collection<String> destinationAddresses)
A list of specific Amazon EC2 instance IP addresses (destination addresses) in a subnet that you want to allow to
receive traffic.
|
AllowCustomRoutingTrafficRequest |
withDestinationAddresses(String... destinationAddresses)
A list of specific Amazon EC2 instance IP addresses (destination addresses) in a subnet that you want to allow to
receive traffic.
|
AllowCustomRoutingTrafficRequest |
withDestinationPorts(Collection<Integer> destinationPorts)
A list of specific Amazon EC2 instance ports (destination ports) that you want to allow to receive traffic.
|
AllowCustomRoutingTrafficRequest |
withDestinationPorts(Integer... destinationPorts)
A list of specific Amazon EC2 instance ports (destination ports) that you want to allow to receive traffic.
|
AllowCustomRoutingTrafficRequest |
withEndpointGroupArn(String endpointGroupArn)
The Amazon Resource Name (ARN) of the endpoint group.
|
AllowCustomRoutingTrafficRequest |
withEndpointId(String endpointId)
An ID for the endpoint.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setEndpointGroupArn(String endpointGroupArn)
The Amazon Resource Name (ARN) of the endpoint group.
endpointGroupArn
- The Amazon Resource Name (ARN) of the endpoint group.public String getEndpointGroupArn()
The Amazon Resource Name (ARN) of the endpoint group.
public AllowCustomRoutingTrafficRequest withEndpointGroupArn(String endpointGroupArn)
The Amazon Resource Name (ARN) of the endpoint group.
endpointGroupArn
- The Amazon Resource Name (ARN) of the endpoint group.public void setEndpointId(String endpointId)
An ID for the endpoint. For custom routing accelerators, this is the virtual private cloud (VPC) subnet ID.
endpointId
- An ID for the endpoint. For custom routing accelerators, this is the virtual private cloud (VPC) subnet
ID.public String getEndpointId()
An ID for the endpoint. For custom routing accelerators, this is the virtual private cloud (VPC) subnet ID.
public AllowCustomRoutingTrafficRequest withEndpointId(String endpointId)
An ID for the endpoint. For custom routing accelerators, this is the virtual private cloud (VPC) subnet ID.
endpointId
- An ID for the endpoint. For custom routing accelerators, this is the virtual private cloud (VPC) subnet
ID.public List<String> getDestinationAddresses()
A list of specific Amazon EC2 instance IP addresses (destination addresses) in a subnet that you want to allow to receive traffic. The IP addresses must be a subset of the IP addresses that you specified for the endpoint group.
DestinationAddresses
is required if AllowAllTrafficToEndpoint
is FALSE
or
is not specified.
DestinationAddresses
is required if AllowAllTrafficToEndpoint
is
FALSE
or is not specified.
public void setDestinationAddresses(Collection<String> destinationAddresses)
A list of specific Amazon EC2 instance IP addresses (destination addresses) in a subnet that you want to allow to receive traffic. The IP addresses must be a subset of the IP addresses that you specified for the endpoint group.
DestinationAddresses
is required if AllowAllTrafficToEndpoint
is FALSE
or
is not specified.
destinationAddresses
- A list of specific Amazon EC2 instance IP addresses (destination addresses) in a subnet that you want to
allow to receive traffic. The IP addresses must be a subset of the IP addresses that you specified for the
endpoint group.
DestinationAddresses
is required if AllowAllTrafficToEndpoint
is
FALSE
or is not specified.
public AllowCustomRoutingTrafficRequest withDestinationAddresses(String... destinationAddresses)
A list of specific Amazon EC2 instance IP addresses (destination addresses) in a subnet that you want to allow to receive traffic. The IP addresses must be a subset of the IP addresses that you specified for the endpoint group.
DestinationAddresses
is required if AllowAllTrafficToEndpoint
is FALSE
or
is not specified.
NOTE: This method appends the values to the existing list (if any). Use
setDestinationAddresses(java.util.Collection)
or withDestinationAddresses(java.util.Collection)
if you want to override the existing values.
destinationAddresses
- A list of specific Amazon EC2 instance IP addresses (destination addresses) in a subnet that you want to
allow to receive traffic. The IP addresses must be a subset of the IP addresses that you specified for the
endpoint group.
DestinationAddresses
is required if AllowAllTrafficToEndpoint
is
FALSE
or is not specified.
public AllowCustomRoutingTrafficRequest withDestinationAddresses(Collection<String> destinationAddresses)
A list of specific Amazon EC2 instance IP addresses (destination addresses) in a subnet that you want to allow to receive traffic. The IP addresses must be a subset of the IP addresses that you specified for the endpoint group.
DestinationAddresses
is required if AllowAllTrafficToEndpoint
is FALSE
or
is not specified.
destinationAddresses
- A list of specific Amazon EC2 instance IP addresses (destination addresses) in a subnet that you want to
allow to receive traffic. The IP addresses must be a subset of the IP addresses that you specified for the
endpoint group.
DestinationAddresses
is required if AllowAllTrafficToEndpoint
is
FALSE
or is not specified.
public List<Integer> getDestinationPorts()
A list of specific Amazon EC2 instance ports (destination ports) that you want to allow to receive traffic.
public void setDestinationPorts(Collection<Integer> destinationPorts)
A list of specific Amazon EC2 instance ports (destination ports) that you want to allow to receive traffic.
destinationPorts
- A list of specific Amazon EC2 instance ports (destination ports) that you want to allow to receive
traffic.public AllowCustomRoutingTrafficRequest withDestinationPorts(Integer... destinationPorts)
A list of specific Amazon EC2 instance ports (destination ports) that you want to allow to receive traffic.
NOTE: This method appends the values to the existing list (if any). Use
setDestinationPorts(java.util.Collection)
or withDestinationPorts(java.util.Collection)
if you
want to override the existing values.
destinationPorts
- A list of specific Amazon EC2 instance ports (destination ports) that you want to allow to receive
traffic.public AllowCustomRoutingTrafficRequest withDestinationPorts(Collection<Integer> destinationPorts)
A list of specific Amazon EC2 instance ports (destination ports) that you want to allow to receive traffic.
destinationPorts
- A list of specific Amazon EC2 instance ports (destination ports) that you want to allow to receive
traffic.public void setAllowAllTrafficToEndpoint(Boolean allowAllTrafficToEndpoint)
Indicates whether all destination IP addresses and ports for a specified VPC subnet endpoint can receive traffic from a custom routing accelerator. The value is TRUE or FALSE.
When set to TRUE, all destinations in the custom routing VPC subnet can receive traffic. Note that you cannot specify destination IP addresses and ports when the value is set to TRUE.
When set to FALSE (or not specified), you must specify a list of destination IP addresses that are allowed to receive traffic. A list of ports is optional. If you don't specify a list of ports, the ports that can accept traffic is the same as the ports configured for the endpoint group.
The default value is FALSE.
allowAllTrafficToEndpoint
- Indicates whether all destination IP addresses and ports for a specified VPC subnet endpoint can receive
traffic from a custom routing accelerator. The value is TRUE or FALSE.
When set to TRUE, all destinations in the custom routing VPC subnet can receive traffic. Note that you cannot specify destination IP addresses and ports when the value is set to TRUE.
When set to FALSE (or not specified), you must specify a list of destination IP addresses that are allowed to receive traffic. A list of ports is optional. If you don't specify a list of ports, the ports that can accept traffic is the same as the ports configured for the endpoint group.
The default value is FALSE.
public Boolean getAllowAllTrafficToEndpoint()
Indicates whether all destination IP addresses and ports for a specified VPC subnet endpoint can receive traffic from a custom routing accelerator. The value is TRUE or FALSE.
When set to TRUE, all destinations in the custom routing VPC subnet can receive traffic. Note that you cannot specify destination IP addresses and ports when the value is set to TRUE.
When set to FALSE (or not specified), you must specify a list of destination IP addresses that are allowed to receive traffic. A list of ports is optional. If you don't specify a list of ports, the ports that can accept traffic is the same as the ports configured for the endpoint group.
The default value is FALSE.
When set to TRUE, all destinations in the custom routing VPC subnet can receive traffic. Note that you cannot specify destination IP addresses and ports when the value is set to TRUE.
When set to FALSE (or not specified), you must specify a list of destination IP addresses that are allowed to receive traffic. A list of ports is optional. If you don't specify a list of ports, the ports that can accept traffic is the same as the ports configured for the endpoint group.
The default value is FALSE.
public AllowCustomRoutingTrafficRequest withAllowAllTrafficToEndpoint(Boolean allowAllTrafficToEndpoint)
Indicates whether all destination IP addresses and ports for a specified VPC subnet endpoint can receive traffic from a custom routing accelerator. The value is TRUE or FALSE.
When set to TRUE, all destinations in the custom routing VPC subnet can receive traffic. Note that you cannot specify destination IP addresses and ports when the value is set to TRUE.
When set to FALSE (or not specified), you must specify a list of destination IP addresses that are allowed to receive traffic. A list of ports is optional. If you don't specify a list of ports, the ports that can accept traffic is the same as the ports configured for the endpoint group.
The default value is FALSE.
allowAllTrafficToEndpoint
- Indicates whether all destination IP addresses and ports for a specified VPC subnet endpoint can receive
traffic from a custom routing accelerator. The value is TRUE or FALSE.
When set to TRUE, all destinations in the custom routing VPC subnet can receive traffic. Note that you cannot specify destination IP addresses and ports when the value is set to TRUE.
When set to FALSE (or not specified), you must specify a list of destination IP addresses that are allowed to receive traffic. A list of ports is optional. If you don't specify a list of ports, the ports that can accept traffic is the same as the ports configured for the endpoint group.
The default value is FALSE.
public Boolean isAllowAllTrafficToEndpoint()
Indicates whether all destination IP addresses and ports for a specified VPC subnet endpoint can receive traffic from a custom routing accelerator. The value is TRUE or FALSE.
When set to TRUE, all destinations in the custom routing VPC subnet can receive traffic. Note that you cannot specify destination IP addresses and ports when the value is set to TRUE.
When set to FALSE (or not specified), you must specify a list of destination IP addresses that are allowed to receive traffic. A list of ports is optional. If you don't specify a list of ports, the ports that can accept traffic is the same as the ports configured for the endpoint group.
The default value is FALSE.
When set to TRUE, all destinations in the custom routing VPC subnet can receive traffic. Note that you cannot specify destination IP addresses and ports when the value is set to TRUE.
When set to FALSE (or not specified), you must specify a list of destination IP addresses that are allowed to receive traffic. A list of ports is optional. If you don't specify a list of ports, the ports that can accept traffic is the same as the ports configured for the endpoint group.
The default value is FALSE.
public String toString()
toString
in class Object
Object.toString()
public AllowCustomRoutingTrafficRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()