@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NetworkBandwidthGbps extends Object implements Serializable, Cloneable
The minimum and maximum amount of network bandwidth, in gigabits per second (Gbps).
Setting the minimum bandwidth does not guarantee that your instance will achieve the minimum bandwidth. Amazon EC2 will identify instance types that support the specified minimum bandwidth, but the actual bandwidth of your instance might go below the specified minimum at times. For more information, see Available instance bandwidth in the Amazon EC2 User Guide.
Constructor and Description |
---|
NetworkBandwidthGbps() |
Modifier and Type | Method and Description |
---|---|
NetworkBandwidthGbps |
clone() |
boolean |
equals(Object obj) |
Double |
getMax()
The maximum amount of network bandwidth, in Gbps.
|
Double |
getMin()
The minimum amount of network bandwidth, in Gbps.
|
int |
hashCode() |
void |
setMax(Double max)
The maximum amount of network bandwidth, in Gbps.
|
void |
setMin(Double min)
The minimum amount of network bandwidth, in Gbps.
|
String |
toString()
Returns a string representation of this object.
|
NetworkBandwidthGbps |
withMax(Double max)
The maximum amount of network bandwidth, in Gbps.
|
NetworkBandwidthGbps |
withMin(Double min)
The minimum amount of network bandwidth, in Gbps.
|
public void setMin(Double min)
The minimum amount of network bandwidth, in Gbps. If this parameter is not specified, there is no minimum limit.
min
- The minimum amount of network bandwidth, in Gbps. If this parameter is not specified, there is no minimum
limit.public Double getMin()
The minimum amount of network bandwidth, in Gbps. If this parameter is not specified, there is no minimum limit.
public NetworkBandwidthGbps withMin(Double min)
The minimum amount of network bandwidth, in Gbps. If this parameter is not specified, there is no minimum limit.
min
- The minimum amount of network bandwidth, in Gbps. If this parameter is not specified, there is no minimum
limit.public void setMax(Double max)
The maximum amount of network bandwidth, in Gbps. If this parameter is not specified, there is no maximum limit.
max
- The maximum amount of network bandwidth, in Gbps. If this parameter is not specified, there is no maximum
limit.public Double getMax()
The maximum amount of network bandwidth, in Gbps. If this parameter is not specified, there is no maximum limit.
public NetworkBandwidthGbps withMax(Double max)
The maximum amount of network bandwidth, in Gbps. If this parameter is not specified, there is no maximum limit.
max
- The maximum amount of network bandwidth, in Gbps. If this parameter is not specified, there is no maximum
limit.public String toString()
toString
in class Object
Object.toString()
public NetworkBandwidthGbps clone()