@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StaticIpConnectionInfo extends Object implements Serializable, Cloneable, StructuredPojo
A static IP configuration.
Constructor and Description |
---|
StaticIpConnectionInfo() |
Modifier and Type | Method and Description |
---|---|
StaticIpConnectionInfo |
clone() |
boolean |
equals(Object obj) |
String |
getDefaultGateway()
The connection's default gateway.
|
List<String> |
getDns()
The connection's DNS address.
|
String |
getIpAddress()
The connection's IP address.
|
String |
getMask()
The connection's DNS mask.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDefaultGateway(String defaultGateway)
The connection's default gateway.
|
void |
setDns(Collection<String> dns)
The connection's DNS address.
|
void |
setIpAddress(String ipAddress)
The connection's IP address.
|
void |
setMask(String mask)
The connection's DNS mask.
|
String |
toString()
Returns a string representation of this object.
|
StaticIpConnectionInfo |
withDefaultGateway(String defaultGateway)
The connection's default gateway.
|
StaticIpConnectionInfo |
withDns(Collection<String> dns)
The connection's DNS address.
|
StaticIpConnectionInfo |
withDns(String... dns)
The connection's DNS address.
|
StaticIpConnectionInfo |
withIpAddress(String ipAddress)
The connection's IP address.
|
StaticIpConnectionInfo |
withMask(String mask)
The connection's DNS mask.
|
public void setDefaultGateway(String defaultGateway)
The connection's default gateway.
defaultGateway
- The connection's default gateway.public String getDefaultGateway()
The connection's default gateway.
public StaticIpConnectionInfo withDefaultGateway(String defaultGateway)
The connection's default gateway.
defaultGateway
- The connection's default gateway.public List<String> getDns()
The connection's DNS address.
public void setDns(Collection<String> dns)
The connection's DNS address.
dns
- The connection's DNS address.public StaticIpConnectionInfo withDns(String... dns)
The connection's DNS address.
NOTE: This method appends the values to the existing list (if any). Use
setDns(java.util.Collection)
or withDns(java.util.Collection)
if you want to override the
existing values.
dns
- The connection's DNS address.public StaticIpConnectionInfo withDns(Collection<String> dns)
The connection's DNS address.
dns
- The connection's DNS address.public void setIpAddress(String ipAddress)
The connection's IP address.
ipAddress
- The connection's IP address.public String getIpAddress()
The connection's IP address.
public StaticIpConnectionInfo withIpAddress(String ipAddress)
The connection's IP address.
ipAddress
- The connection's IP address.public void setMask(String mask)
The connection's DNS mask.
mask
- The connection's DNS mask.public String getMask()
The connection's DNS mask.
public StaticIpConnectionInfo withMask(String mask)
The connection's DNS mask.
mask
- The connection's DNS mask.public String toString()
toString
in class Object
Object.toString()
public StaticIpConnectionInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.