@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NetworkBandwidthGbpsRequest 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 |
---|
NetworkBandwidthGbpsRequest() |
Modifier and Type | Method and Description |
---|---|
NetworkBandwidthGbpsRequest |
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.
|
NetworkBandwidthGbpsRequest |
withMax(Double max)
The maximum amount of network bandwidth, in Gbps.
|
NetworkBandwidthGbpsRequest |
withMin(Double min)
The minimum amount of network bandwidth, in Gbps.
|
public void setMin(Double min)
The minimum amount of network bandwidth, in Gbps. To specify no minimum limit, omit this parameter.
min
- The minimum amount of network bandwidth, in Gbps. To specify no minimum limit, omit this parameter.public Double getMin()
The minimum amount of network bandwidth, in Gbps. To specify no minimum limit, omit this parameter.
public NetworkBandwidthGbpsRequest withMin(Double min)
The minimum amount of network bandwidth, in Gbps. To specify no minimum limit, omit this parameter.
min
- The minimum amount of network bandwidth, in Gbps. To specify no minimum limit, omit this parameter.public void setMax(Double max)
The maximum amount of network bandwidth, in Gbps. To specify no maximum limit, omit this parameter.
max
- The maximum amount of network bandwidth, in Gbps. To specify no maximum limit, omit this parameter.public Double getMax()
The maximum amount of network bandwidth, in Gbps. To specify no maximum limit, omit this parameter.
public NetworkBandwidthGbpsRequest withMax(Double max)
The maximum amount of network bandwidth, in Gbps. To specify no maximum limit, omit this parameter.
max
- The maximum amount of network bandwidth, in Gbps. To specify no maximum limit, omit this parameter.public String toString()
toString
in class Object
Object.toString()
public NetworkBandwidthGbpsRequest clone()