@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InstanceNetworking extends Object implements Serializable, Cloneable, StructuredPojo
Describes monthly data transfer rates and port information for an instance.
Constructor and Description |
---|
InstanceNetworking() |
Modifier and Type | Method and Description |
---|---|
InstanceNetworking |
clone() |
boolean |
equals(Object obj) |
MonthlyTransfer |
getMonthlyTransfer()
The amount of data in GB allocated for monthly data transfers.
|
List<InstancePortInfo> |
getPorts()
An array of key-value pairs containing information about the ports on the instance.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMonthlyTransfer(MonthlyTransfer monthlyTransfer)
The amount of data in GB allocated for monthly data transfers.
|
void |
setPorts(Collection<InstancePortInfo> ports)
An array of key-value pairs containing information about the ports on the instance.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
InstanceNetworking |
withMonthlyTransfer(MonthlyTransfer monthlyTransfer)
The amount of data in GB allocated for monthly data transfers.
|
InstanceNetworking |
withPorts(Collection<InstancePortInfo> ports)
An array of key-value pairs containing information about the ports on the instance.
|
InstanceNetworking |
withPorts(InstancePortInfo... ports)
An array of key-value pairs containing information about the ports on the instance.
|
public void setMonthlyTransfer(MonthlyTransfer monthlyTransfer)
The amount of data in GB allocated for monthly data transfers.
monthlyTransfer
- The amount of data in GB allocated for monthly data transfers.public MonthlyTransfer getMonthlyTransfer()
The amount of data in GB allocated for monthly data transfers.
public InstanceNetworking withMonthlyTransfer(MonthlyTransfer monthlyTransfer)
The amount of data in GB allocated for monthly data transfers.
monthlyTransfer
- The amount of data in GB allocated for monthly data transfers.public List<InstancePortInfo> getPorts()
An array of key-value pairs containing information about the ports on the instance.
public void setPorts(Collection<InstancePortInfo> ports)
An array of key-value pairs containing information about the ports on the instance.
ports
- An array of key-value pairs containing information about the ports on the instance.public InstanceNetworking withPorts(InstancePortInfo... ports)
An array of key-value pairs containing information about the ports on the instance.
NOTE: This method appends the values to the existing list (if any). Use
setPorts(java.util.Collection)
or withPorts(java.util.Collection)
if you want to override the
existing values.
ports
- An array of key-value pairs containing information about the ports on the instance.public InstanceNetworking withPorts(Collection<InstancePortInfo> ports)
An array of key-value pairs containing information about the ports on the instance.
ports
- An array of key-value pairs containing information about the ports on the instance.public String toString()
toString
in class Object
Object.toString()
public InstanceNetworking clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.