@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GatewayNetwork extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
GatewayNetwork() |
Modifier and Type | Method and Description |
---|---|
GatewayNetwork |
clone() |
boolean |
equals(Object obj) |
String |
getCidrBlock()
A unique IP address range to use for this network.
|
String |
getName()
The name of the network.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCidrBlock(String cidrBlock)
A unique IP address range to use for this network.
|
void |
setName(String name)
The name of the network.
|
String |
toString()
Returns a string representation of this object.
|
GatewayNetwork |
withCidrBlock(String cidrBlock)
A unique IP address range to use for this network.
|
GatewayNetwork |
withName(String name)
The name of the network.
|
public void setCidrBlock(String cidrBlock)
cidrBlock
- A unique IP address range to use for this network. These IP addresses should be in the form of a Classless
Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.public String getCidrBlock()
public GatewayNetwork withCidrBlock(String cidrBlock)
cidrBlock
- A unique IP address range to use for this network. 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 network. This name is used to reference the network and must be unique among networks in
this gateway.public String getName()
public GatewayNetwork withName(String name)
name
- The name of the network. This name is used to reference the network and must be unique among networks in
this gateway.public String toString()
toString
in class Object
Object.toString()
public GatewayNetwork clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.