Class LaunchTemplateNetworkPerformanceOptions
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.LaunchTemplateNetworkPerformanceOptions
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<LaunchTemplateNetworkPerformanceOptions.Builder,LaunchTemplateNetworkPerformanceOptions>
@Generated("software.amazon.awssdk:codegen") public final class LaunchTemplateNetworkPerformanceOptions extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LaunchTemplateNetworkPerformanceOptions.Builder,LaunchTemplateNetworkPerformanceOptions>
With network performance options, you can adjust your bandwidth preferences to meet the needs of the workload that runs on your instance at launch.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
LaunchTemplateNetworkPerformanceOptions.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 baseline bandwidth for either networking or EBS by up to 25%.String
bandwidthWeightingAsString()
When you configure network bandwidth weighting, you can boost baseline bandwidth for either networking or EBS by up to 25%.static LaunchTemplateNetworkPerformanceOptions.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 LaunchTemplateNetworkPerformanceOptions.Builder>
serializableBuilderClass()
LaunchTemplateNetworkPerformanceOptions.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 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 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 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 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 LaunchTemplateNetworkPerformanceOptions.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<LaunchTemplateNetworkPerformanceOptions.Builder,LaunchTemplateNetworkPerformanceOptions>
-
builder
public static LaunchTemplateNetworkPerformanceOptions.Builder builder()
-
serializableBuilderClass
public static Class<? extends LaunchTemplateNetworkPerformanceOptions.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
-
-