Class ReservedInstancesConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.ReservedInstancesConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ReservedInstancesConfiguration.Builder,ReservedInstancesConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class ReservedInstancesConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ReservedInstancesConfiguration.Builder,ReservedInstancesConfiguration>
Describes the configuration settings for the modified Reserved Instances.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceReservedInstancesConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringavailabilityZone()The Availability Zone for the modified Reserved Instances.static ReservedInstancesConfiguration.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegerinstanceCount()The number of modified Reserved Instances.InstanceTypeinstanceType()The instance type for the modified Reserved Instances.StringinstanceTypeAsString()The instance type for the modified Reserved Instances.Stringplatform()The network platform of the modified Reserved Instances.Scopescope()Whether the Reserved Instance is applied to instances in a Region or instances in a specific Availability Zone.StringscopeAsString()Whether the Reserved Instance is applied to instances in a Region or instances in a specific Availability Zone.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ReservedInstancesConfiguration.Builder>serializableBuilderClass()ReservedInstancesConfiguration.BuildertoBuilder()StringtoString()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
-
availabilityZone
public final String availabilityZone()
The Availability Zone for the modified Reserved Instances.
- Returns:
- The Availability Zone for the modified Reserved Instances.
-
instanceCount
public final Integer instanceCount()
The number of modified Reserved Instances.
This is a required field for a request.
- Returns:
- The number of modified Reserved Instances.
This is a required field for a request.
-
instanceType
public final InstanceType instanceType()
The instance type for the modified Reserved Instances.
If the service returns an enum value that is not available in the current SDK version,
instanceTypewill returnInstanceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frominstanceTypeAsString().- Returns:
- The instance type for the modified Reserved Instances.
- See Also:
InstanceType
-
instanceTypeAsString
public final String instanceTypeAsString()
The instance type for the modified Reserved Instances.
If the service returns an enum value that is not available in the current SDK version,
instanceTypewill returnInstanceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frominstanceTypeAsString().- Returns:
- The instance type for the modified Reserved Instances.
- See Also:
InstanceType
-
platform
public final String platform()
The network platform of the modified Reserved Instances.
- Returns:
- The network platform of the modified Reserved Instances.
-
scope
public final Scope scope()
Whether the Reserved Instance is applied to instances in a Region or instances in a specific Availability Zone.
If the service returns an enum value that is not available in the current SDK version,
scopewill returnScope.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromscopeAsString().- Returns:
- Whether the Reserved Instance is applied to instances in a Region or instances in a specific Availability Zone.
- See Also:
Scope
-
scopeAsString
public final String scopeAsString()
Whether the Reserved Instance is applied to instances in a Region or instances in a specific Availability Zone.
If the service returns an enum value that is not available in the current SDK version,
scopewill returnScope.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromscopeAsString().- Returns:
- Whether the Reserved Instance is applied to instances in a Region or instances in a specific Availability Zone.
- See Also:
Scope
-
toBuilder
public ReservedInstancesConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ReservedInstancesConfiguration.Builder,ReservedInstancesConfiguration>
-
builder
public static ReservedInstancesConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends ReservedInstancesConfiguration.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin 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:
sdkFieldNameToFieldin interfaceSdkPojo
-
-