@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NetworkBandwidthGbpsRequest extends Object implements Serializable, Cloneable
Specifies the minimum and maximum for the NetworkBandwidthGbps
object when you specify
InstanceRequirements for an Auto Scaling group.
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 for Linux Instances.
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 gigabits per second (Gbps).
|
Double |
getMin()
The minimum amount of network bandwidth, in gigabits per second (Gbps).
|
int |
hashCode() |
void |
setMax(Double max)
The maximum amount of network bandwidth, in gigabits per second (Gbps).
|
void |
setMin(Double min)
The minimum amount of network bandwidth, in gigabits per second (Gbps).
|
String |
toString()
Returns a string representation of this object.
|
NetworkBandwidthGbpsRequest |
withMax(Double max)
The maximum amount of network bandwidth, in gigabits per second (Gbps).
|
NetworkBandwidthGbpsRequest |
withMin(Double min)
The minimum amount of network bandwidth, in gigabits per second (Gbps).
|
public void setMin(Double min)
The minimum amount of network bandwidth, in gigabits per second (Gbps).
min
- The minimum amount of network bandwidth, in gigabits per second (Gbps).public Double getMin()
The minimum amount of network bandwidth, in gigabits per second (Gbps).
public NetworkBandwidthGbpsRequest withMin(Double min)
The minimum amount of network bandwidth, in gigabits per second (Gbps).
min
- The minimum amount of network bandwidth, in gigabits per second (Gbps).public void setMax(Double max)
The maximum amount of network bandwidth, in gigabits per second (Gbps).
max
- The maximum amount of network bandwidth, in gigabits per second (Gbps).public Double getMax()
The maximum amount of network bandwidth, in gigabits per second (Gbps).
public NetworkBandwidthGbpsRequest withMax(Double max)
The maximum amount of network bandwidth, in gigabits per second (Gbps).
max
- The maximum amount of network bandwidth, in gigabits per second (Gbps).public String toString()
toString
in class Object
Object.toString()
public NetworkBandwidthGbpsRequest clone()