Class ReservedInstancesConfiguration
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ReservedInstancesConfiguration.Builder,ReservedInstancesConfiguration>
Describes the configuration settings for the modified Reserved Instances.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringThe Availability Zone for the modified Reserved Instances.final StringThe ID of the Availability Zone.builder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final IntegerThe number of modified Reserved Instances.final InstanceTypeThe instance type for the modified Reserved Instances.final StringThe instance type for the modified Reserved Instances.final Stringplatform()The network platform of the modified Reserved Instances.final Scopescope()Whether the Reserved Instance is applied to instances in a Region or instances in a specific Availability Zone.final StringWhether the Reserved Instance is applied to instances in a Region or instances in a specific Availability Zone.static Class<? extends ReservedInstancesConfiguration.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
availabilityZone
The Availability Zone for the modified Reserved Instances.
- Returns:
- The Availability Zone for the modified Reserved Instances.
-
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
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:
-
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:
-
platform
The network platform of the modified Reserved Instances.
- Returns:
- The network platform of the modified Reserved Instances.
-
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:
-
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:
-
availabilityZoneId
The ID of the Availability Zone.
- Returns:
- The ID of the Availability Zone.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<ReservedInstancesConfiguration.Builder,ReservedInstancesConfiguration>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-