@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateGatewayRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateGatewayRequest() |
Modifier and Type | Method and Description |
---|---|
CreateGatewayRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getEgressCidrBlocks()
The range of IP addresses that are allowed to contribute content or initiate output requests for flows
communicating with this gateway.
|
String |
getName()
The name of the gateway.
|
List<GatewayNetwork> |
getNetworks()
The list of networks that you want to add.
|
int |
hashCode() |
void |
setEgressCidrBlocks(Collection<String> egressCidrBlocks)
The range of IP addresses that are allowed to contribute content or initiate output requests for flows
communicating with this gateway.
|
void |
setName(String name)
The name of the gateway.
|
void |
setNetworks(Collection<GatewayNetwork> networks)
The list of networks that you want to add.
|
String |
toString()
Returns a string representation of this object.
|
CreateGatewayRequest |
withEgressCidrBlocks(Collection<String> egressCidrBlocks)
The range of IP addresses that are allowed to contribute content or initiate output requests for flows
communicating with this gateway.
|
CreateGatewayRequest |
withEgressCidrBlocks(String... egressCidrBlocks)
The range of IP addresses that are allowed to contribute content or initiate output requests for flows
communicating with this gateway.
|
CreateGatewayRequest |
withName(String name)
The name of the gateway.
|
CreateGatewayRequest |
withNetworks(Collection<GatewayNetwork> networks)
The list of networks that you want to add.
|
CreateGatewayRequest |
withNetworks(GatewayNetwork... networks)
The list of networks that you want to add.
|
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 List<String> getEgressCidrBlocks()
public void setEgressCidrBlocks(Collection<String> egressCidrBlocks)
egressCidrBlocks
- The range of IP addresses that are allowed to contribute content or initiate output requests for flows
communicating with this gateway. These IP addresses should be in the form of a Classless Inter-Domain
Routing (CIDR) block; for example, 10.0.0.0/16.public CreateGatewayRequest withEgressCidrBlocks(String... egressCidrBlocks)
NOTE: This method appends the values to the existing list (if any). Use
setEgressCidrBlocks(java.util.Collection)
or withEgressCidrBlocks(java.util.Collection)
if you
want to override the existing values.
egressCidrBlocks
- The range of IP addresses that are allowed to contribute content or initiate output requests for flows
communicating with this gateway. These IP addresses should be in the form of a Classless Inter-Domain
Routing (CIDR) block; for example, 10.0.0.0/16.public CreateGatewayRequest withEgressCidrBlocks(Collection<String> egressCidrBlocks)
egressCidrBlocks
- The range of IP addresses that are allowed to contribute content or initiate output requests for flows
communicating with this gateway. These IP addresses should be in the form of a Classless Inter-Domain
Routing (CIDR) block; for example, 10.0.0.0/16.public void setName(String name)
name
- The name of the gateway. This name can not be modified after the gateway is created.public String getName()
public CreateGatewayRequest withName(String name)
name
- The name of the gateway. This name can not be modified after the gateway is created.public List<GatewayNetwork> getNetworks()
public void setNetworks(Collection<GatewayNetwork> networks)
networks
- The list of networks that you want to add.public CreateGatewayRequest withNetworks(GatewayNetwork... networks)
NOTE: This method appends the values to the existing list (if any). Use
setNetworks(java.util.Collection)
or withNetworks(java.util.Collection)
if you want to override
the existing values.
networks
- The list of networks that you want to add.public CreateGatewayRequest withNetworks(Collection<GatewayNetwork> networks)
networks
- The list of networks that you want to add.public String toString()
toString
in class Object
Object.toString()
public CreateGatewayRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()