@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Gateway extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
Gateway() |
| Modifier and Type | Method and Description |
|---|---|
Gateway |
clone() |
boolean |
equals(Object obj) |
List<String> |
getEgressCidrBlocks()
The range of IP addresses that contribute content or initiate output requests for flows communicating with this
gateway.
|
String |
getGatewayArn()
The Amazon Resource Name (ARN) of the gateway.
|
List<MessageDetail> |
getGatewayMessages() |
String |
getGatewayState()
The current status of the gateway.
|
String |
getName()
The name of the gateway.
|
List<GatewayNetwork> |
getNetworks()
The list of networks in the gateway.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setEgressCidrBlocks(Collection<String> egressCidrBlocks)
The range of IP addresses that contribute content or initiate output requests for flows communicating with this
gateway.
|
void |
setGatewayArn(String gatewayArn)
The Amazon Resource Name (ARN) of the gateway.
|
void |
setGatewayMessages(Collection<MessageDetail> gatewayMessages) |
void |
setGatewayState(String gatewayState)
The current status of the gateway.
|
void |
setName(String name)
The name of the gateway.
|
void |
setNetworks(Collection<GatewayNetwork> networks)
The list of networks in the gateway.
|
String |
toString()
Returns a string representation of this object.
|
Gateway |
withEgressCidrBlocks(Collection<String> egressCidrBlocks)
The range of IP addresses that contribute content or initiate output requests for flows communicating with this
gateway.
|
Gateway |
withEgressCidrBlocks(String... egressCidrBlocks)
The range of IP addresses that contribute content or initiate output requests for flows communicating with this
gateway.
|
Gateway |
withGatewayArn(String gatewayArn)
The Amazon Resource Name (ARN) of the gateway.
|
Gateway |
withGatewayMessages(Collection<MessageDetail> gatewayMessages) |
Gateway |
withGatewayMessages(MessageDetail... gatewayMessages)
NOTE: This method appends the values to the existing list (if any).
|
Gateway |
withGatewayState(GatewayState gatewayState)
The current status of the gateway.
|
Gateway |
withGatewayState(String gatewayState)
The current status of the gateway.
|
Gateway |
withName(String name)
The name of the gateway.
|
Gateway |
withNetworks(Collection<GatewayNetwork> networks)
The list of networks in the gateway.
|
Gateway |
withNetworks(GatewayNetwork... networks)
The list of networks in the gateway.
|
public List<String> getEgressCidrBlocks()
public void setEgressCidrBlocks(Collection<String> egressCidrBlocks)
egressCidrBlocks - The range of IP addresses that 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 Gateway 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 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 Gateway withEgressCidrBlocks(Collection<String> egressCidrBlocks)
egressCidrBlocks - The range of IP addresses that 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 setGatewayArn(String gatewayArn)
gatewayArn - The Amazon Resource Name (ARN) of the gateway.public String getGatewayArn()
public Gateway withGatewayArn(String gatewayArn)
gatewayArn - The Amazon Resource Name (ARN) of the gateway.public List<MessageDetail> getGatewayMessages()
public void setGatewayMessages(Collection<MessageDetail> gatewayMessages)
gatewayMessages - public Gateway withGatewayMessages(MessageDetail... gatewayMessages)
NOTE: This method appends the values to the existing list (if any). Use
setGatewayMessages(java.util.Collection) or withGatewayMessages(java.util.Collection) if you
want to override the existing values.
gatewayMessages - public Gateway withGatewayMessages(Collection<MessageDetail> gatewayMessages)
gatewayMessages - public void setGatewayState(String gatewayState)
gatewayState - The current status of the gateway.GatewayStatepublic String getGatewayState()
GatewayStatepublic Gateway withGatewayState(String gatewayState)
gatewayState - The current status of the gateway.GatewayStatepublic Gateway withGatewayState(GatewayState gatewayState)
gatewayState - The current status of the gateway.GatewayStatepublic 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 Gateway 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 in the gateway.public Gateway 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 in the gateway.public Gateway withNetworks(Collection<GatewayNetwork> networks)
networks - The list of networks in the gateway.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.