Class AwsEc2LaunchTemplateDataCpuOptionsDetails
- java.lang.Object
-
- software.amazon.awssdk.services.securityhub.model.AwsEc2LaunchTemplateDataCpuOptionsDetails
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AwsEc2LaunchTemplateDataCpuOptionsDetails.Builder,AwsEc2LaunchTemplateDataCpuOptionsDetails>
@Generated("software.amazon.awssdk:codegen") public final class AwsEc2LaunchTemplateDataCpuOptionsDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsEc2LaunchTemplateDataCpuOptionsDetails.Builder,AwsEc2LaunchTemplateDataCpuOptionsDetails>
Specifies the CPU options for an Amazon EC2 instance. For more information, see Optimize CPU options in the Amazon Elastic Compute Cloud User Guide.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAwsEc2LaunchTemplateDataCpuOptionsDetails.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AwsEc2LaunchTemplateDataCpuOptionsDetails.Builderbuilder()IntegercoreCount()The number of CPU cores for the instance.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends AwsEc2LaunchTemplateDataCpuOptionsDetails.Builder>serializableBuilderClass()IntegerthreadsPerCore()The number of threads per CPU core.AwsEc2LaunchTemplateDataCpuOptionsDetails.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
-
coreCount
public final Integer coreCount()
The number of CPU cores for the instance.
- Returns:
- The number of CPU cores for the instance.
-
threadsPerCore
public final Integer threadsPerCore()
The number of threads per CPU core. A value of
1disables multithreading for the instance, The default value is2.- Returns:
- The number of threads per CPU core. A value of
1disables multithreading for the instance, The default value is2.
-
toBuilder
public AwsEc2LaunchTemplateDataCpuOptionsDetails.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AwsEc2LaunchTemplateDataCpuOptionsDetails.Builder,AwsEc2LaunchTemplateDataCpuOptionsDetails>
-
builder
public static AwsEc2LaunchTemplateDataCpuOptionsDetails.Builder builder()
-
serializableBuilderClass
public static Class<? extends AwsEc2LaunchTemplateDataCpuOptionsDetails.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.
-
-