Class InstanceNetworkPerformanceOptions
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.InstanceNetworkPerformanceOptions
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<InstanceNetworkPerformanceOptions.Builder,InstanceNetworkPerformanceOptions>
@Generated("software.amazon.awssdk:codegen") public final class InstanceNetworkPerformanceOptions extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InstanceNetworkPerformanceOptions.Builder,InstanceNetworkPerformanceOptions>
With network performance options, you can adjust your bandwidth preferences to meet the needs of the workload that runs on your instance.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
InstanceNetworkPerformanceOptions.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description InstanceBandwidthWeighting
bandwidthWeighting()
When you configure network bandwidth weighting, you can boost your baseline bandwidth for either networking or EBS by up to 25%.String
bandwidthWeightingAsString()
When you configure network bandwidth weighting, you can boost your baseline bandwidth for either networking or EBS by up to 25%.static InstanceNetworkPerformanceOptions.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends InstanceNetworkPerformanceOptions.Builder>
serializableBuilderClass()
InstanceNetworkPerformanceOptions.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
bandwidthWeighting
public final InstanceBandwidthWeighting bandwidthWeighting()
When you configure network bandwidth weighting, you can boost your baseline bandwidth for either networking or EBS by up to 25%. The total available baseline bandwidth for your instance remains the same. The default option uses the standard bandwidth configuration for your instance type.
If the service returns an enum value that is not available in the current SDK version,
bandwidthWeighting
will returnInstanceBandwidthWeighting.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frombandwidthWeightingAsString()
.- Returns:
- When you configure network bandwidth weighting, you can boost your baseline bandwidth for either networking or EBS by up to 25%. The total available baseline bandwidth for your instance remains the same. The default option uses the standard bandwidth configuration for your instance type.
- See Also:
InstanceBandwidthWeighting
-
bandwidthWeightingAsString
public final String bandwidthWeightingAsString()
When you configure network bandwidth weighting, you can boost your baseline bandwidth for either networking or EBS by up to 25%. The total available baseline bandwidth for your instance remains the same. The default option uses the standard bandwidth configuration for your instance type.
If the service returns an enum value that is not available in the current SDK version,
bandwidthWeighting
will returnInstanceBandwidthWeighting.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frombandwidthWeightingAsString()
.- Returns:
- When you configure network bandwidth weighting, you can boost your baseline bandwidth for either networking or EBS by up to 25%. The total available baseline bandwidth for your instance remains the same. The default option uses the standard bandwidth configuration for your instance type.
- See Also:
InstanceBandwidthWeighting
-
toBuilder
public InstanceNetworkPerformanceOptions.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<InstanceNetworkPerformanceOptions.Builder,InstanceNetworkPerformanceOptions>
-
builder
public static InstanceNetworkPerformanceOptions.Builder builder()
-
serializableBuilderClass
public static Class<? extends InstanceNetworkPerformanceOptions.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-