Class FormFactorConfig
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<FormFactorConfig.Builder,FormFactorConfig>
A supported form factor and Outpost generation configuration for an instance type.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic FormFactorConfig.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final FormFactorThe form factor.final StringThe form factor.final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final OutpostGenerationThe Outpost generation.final StringThe Outpost generation.static Class<? extends FormFactorConfig.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
-
formFactor
The form factor. Valid values are
RACKfor rack-based Outposts andSERVERfor server-based Outposts.If the service returns an enum value that is not available in the current SDK version,
formFactorwill returnFormFactor.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromformFactorAsString().- Returns:
- The form factor. Valid values are
RACKfor rack-based Outposts andSERVERfor server-based Outposts. - See Also:
-
formFactorAsString
The form factor. Valid values are
RACKfor rack-based Outposts andSERVERfor server-based Outposts.If the service returns an enum value that is not available in the current SDK version,
formFactorwill returnFormFactor.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromformFactorAsString().- Returns:
- The form factor. Valid values are
RACKfor rack-based Outposts andSERVERfor server-based Outposts. - See Also:
-
outpostGeneration
The Outpost generation. Valid values are
GENERATION_1for first-generation rack deployments andGENERATION_2for second-generation rack deployments. This value is not set for server form factors.If the service returns an enum value that is not available in the current SDK version,
outpostGenerationwill returnOutpostGeneration.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromoutpostGenerationAsString().- Returns:
- The Outpost generation. Valid values are
GENERATION_1for first-generation rack deployments andGENERATION_2for second-generation rack deployments. This value is not set for server form factors. - See Also:
-
outpostGenerationAsString
The Outpost generation. Valid values are
GENERATION_1for first-generation rack deployments andGENERATION_2for second-generation rack deployments. This value is not set for server form factors.If the service returns an enum value that is not available in the current SDK version,
outpostGenerationwill returnOutpostGeneration.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromoutpostGenerationAsString().- Returns:
- The Outpost generation. Valid values are
GENERATION_1for first-generation rack deployments andGENERATION_2for second-generation rack deployments. This value is not set for server form factors. - See Also:
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<FormFactorConfig.Builder,FormFactorConfig>
-
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
-