Class ComputeConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.costoptimizationhub.model.ComputeConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ComputeConfiguration.Builder,ComputeConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class ComputeConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ComputeConfiguration.Builder,ComputeConfiguration>
Describes the performance configuration for compute services such as Amazon EC2, Lambda, and ECS.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceComputeConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarchitecture()The architecture of the resource.static ComputeConfiguration.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermemorySizeInMB()The memory size of the resource.Stringplatform()The platform of the resource.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ComputeConfiguration.Builder>serializableBuilderClass()ComputeConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.DoublevCpu()The number of vCPU cores in the resource.-
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
-
vCpu
public final Double vCpu()
The number of vCPU cores in the resource.
- Returns:
- The number of vCPU cores in the resource.
-
memorySizeInMB
public final Integer memorySizeInMB()
The memory size of the resource.
- Returns:
- The memory size of the resource.
-
architecture
public final String architecture()
The architecture of the resource.
- Returns:
- The architecture of the resource.
-
platform
public final String platform()
The platform of the resource. The platform is the specific combination of operating system, license model, and software on an instance.
- Returns:
- The platform of the resource. The platform is the specific combination of operating system, license model, and software on an instance.
-
toBuilder
public ComputeConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ComputeConfiguration.Builder,ComputeConfiguration>
-
builder
public static ComputeConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends ComputeConfiguration.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
-
-