@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class ShapeNetworkingBandwidthOptions extends Object
For a flexible shape, the amount of networking bandwidth available for instances that use this shape.
If this field is null, then this shape has a fixed amount of bandwidth equivalent to `networkingBandwidthInGbps`.
Note: Objects should always be created or deserialized using the ShapeNetworkingBandwidthOptions.Builder
. This model distinguishes fields
that are null
because they are unset from fields that are explicitly set to null
. This is done in
the setter methods of the ShapeNetworkingBandwidthOptions.Builder
, which maintain a set of all explicitly set fields called
__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
__explicitlySet__
into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
ShapeNetworkingBandwidthOptions.Builder |
Constructor and Description |
---|
ShapeNetworkingBandwidthOptions(Float minInGbps,
Float maxInGbps,
Float defaultPerOcpuInGbps)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ShapeNetworkingBandwidthOptions.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
Float |
getDefaultPerOcpuInGbps()
The default amount of networking bandwidth per OCPU, in gigabits per second.
|
Float |
getMaxInGbps()
The maximum amount of networking bandwidth, in gigabits per second.
|
Float |
getMinInGbps()
The minimum amount of networking bandwidth, in gigabits per second.
|
int |
hashCode() |
ShapeNetworkingBandwidthOptions.Builder |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"minInGbps","maxInGbps","defaultPerOcpuInGbps"}) @Deprecated public ShapeNetworkingBandwidthOptions(Float minInGbps, Float maxInGbps, Float defaultPerOcpuInGbps)
public static ShapeNetworkingBandwidthOptions.Builder builder()
Create a new builder.
public ShapeNetworkingBandwidthOptions.Builder toBuilder()
public Float getMinInGbps()
The minimum amount of networking bandwidth, in gigabits per second.
public Float getMaxInGbps()
The maximum amount of networking bandwidth, in gigabits per second.
public Float getDefaultPerOcpuInGbps()
The default amount of networking bandwidth per OCPU, in gigabits per second.
Copyright © 2016–2021. All rights reserved.