Class EbsInfo
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.EbsInfo
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EbsInfo.Builder,EbsInfo>
@Generated("software.amazon.awssdk:codegen") public final class EbsInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EbsInfo.Builder,EbsInfo>
Describes the Amazon EBS features supported by the instance type.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEbsInfo.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AttachmentLimitTypeattachmentLimitType()Indicates whether the instance type features a shared or dedicated Amazon EBS volume attachment limit.StringattachmentLimitTypeAsString()Indicates whether the instance type features a shared or dedicated Amazon EBS volume attachment limit.static EbsInfo.Builderbuilder()EbsOptimizedInfoebsOptimizedInfo()Describes the optimized EBS performance for the instance type.EbsOptimizedSupportebsOptimizedSupport()Indicates whether the instance type is Amazon EBS-optimized.StringebsOptimizedSupportAsString()Indicates whether the instance type is Amazon EBS-optimized.EbsEncryptionSupportencryptionSupport()Indicates whether Amazon EBS encryption is supported.StringencryptionSupportAsString()Indicates whether Amazon EBS encryption is supported.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaximumEbsAttachments()Indicates the maximum number of Amazon EBS volumes that can be attached to the instance type.EbsNvmeSupportnvmeSupport()Indicates whether non-volatile memory express (NVMe) is supported.StringnvmeSupportAsString()Indicates whether non-volatile memory express (NVMe) is supported.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends EbsInfo.Builder>serializableBuilderClass()EbsInfo.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
-
ebsOptimizedSupport
public final EbsOptimizedSupport ebsOptimizedSupport()
Indicates whether the instance type is Amazon EBS-optimized. For more information, see Amazon EBS-optimized instances in Amazon EC2 User Guide.
If the service returns an enum value that is not available in the current SDK version,
ebsOptimizedSupportwill returnEbsOptimizedSupport.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromebsOptimizedSupportAsString().- Returns:
- Indicates whether the instance type is Amazon EBS-optimized. For more information, see Amazon EBS-optimized instances in Amazon EC2 User Guide.
- See Also:
EbsOptimizedSupport
-
ebsOptimizedSupportAsString
public final String ebsOptimizedSupportAsString()
Indicates whether the instance type is Amazon EBS-optimized. For more information, see Amazon EBS-optimized instances in Amazon EC2 User Guide.
If the service returns an enum value that is not available in the current SDK version,
ebsOptimizedSupportwill returnEbsOptimizedSupport.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromebsOptimizedSupportAsString().- Returns:
- Indicates whether the instance type is Amazon EBS-optimized. For more information, see Amazon EBS-optimized instances in Amazon EC2 User Guide.
- See Also:
EbsOptimizedSupport
-
encryptionSupport
public final EbsEncryptionSupport encryptionSupport()
Indicates whether Amazon EBS encryption is supported.
If the service returns an enum value that is not available in the current SDK version,
encryptionSupportwill returnEbsEncryptionSupport.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromencryptionSupportAsString().- Returns:
- Indicates whether Amazon EBS encryption is supported.
- See Also:
EbsEncryptionSupport
-
encryptionSupportAsString
public final String encryptionSupportAsString()
Indicates whether Amazon EBS encryption is supported.
If the service returns an enum value that is not available in the current SDK version,
encryptionSupportwill returnEbsEncryptionSupport.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromencryptionSupportAsString().- Returns:
- Indicates whether Amazon EBS encryption is supported.
- See Also:
EbsEncryptionSupport
-
ebsOptimizedInfo
public final EbsOptimizedInfo ebsOptimizedInfo()
Describes the optimized EBS performance for the instance type.
- Returns:
- Describes the optimized EBS performance for the instance type.
-
nvmeSupport
public final EbsNvmeSupport nvmeSupport()
Indicates whether non-volatile memory express (NVMe) is supported.
If the service returns an enum value that is not available in the current SDK version,
nvmeSupportwill returnEbsNvmeSupport.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnvmeSupportAsString().- Returns:
- Indicates whether non-volatile memory express (NVMe) is supported.
- See Also:
EbsNvmeSupport
-
nvmeSupportAsString
public final String nvmeSupportAsString()
Indicates whether non-volatile memory express (NVMe) is supported.
If the service returns an enum value that is not available in the current SDK version,
nvmeSupportwill returnEbsNvmeSupport.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnvmeSupportAsString().- Returns:
- Indicates whether non-volatile memory express (NVMe) is supported.
- See Also:
EbsNvmeSupport
-
maximumEbsAttachments
public final Integer maximumEbsAttachments()
Indicates the maximum number of Amazon EBS volumes that can be attached to the instance type. For more information, see Amazon EBS volume limits for Amazon EC2 instances in the Amazon EC2 User Guide.
- Returns:
- Indicates the maximum number of Amazon EBS volumes that can be attached to the instance type. For more information, see Amazon EBS volume limits for Amazon EC2 instances in the Amazon EC2 User Guide.
-
attachmentLimitType
public final AttachmentLimitType attachmentLimitType()
Indicates whether the instance type features a shared or dedicated Amazon EBS volume attachment limit. For more information, see Amazon EBS volume limits for Amazon EC2 instances in the Amazon EC2 User Guide.
If the service returns an enum value that is not available in the current SDK version,
attachmentLimitTypewill returnAttachmentLimitType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromattachmentLimitTypeAsString().- Returns:
- Indicates whether the instance type features a shared or dedicated Amazon EBS volume attachment limit. For more information, see Amazon EBS volume limits for Amazon EC2 instances in the Amazon EC2 User Guide.
- See Also:
AttachmentLimitType
-
attachmentLimitTypeAsString
public final String attachmentLimitTypeAsString()
Indicates whether the instance type features a shared or dedicated Amazon EBS volume attachment limit. For more information, see Amazon EBS volume limits for Amazon EC2 instances in the Amazon EC2 User Guide.
If the service returns an enum value that is not available in the current SDK version,
attachmentLimitTypewill returnAttachmentLimitType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromattachmentLimitTypeAsString().- Returns:
- Indicates whether the instance type features a shared or dedicated Amazon EBS volume attachment limit. For more information, see Amazon EBS volume limits for Amazon EC2 instances in the Amazon EC2 User Guide.
- See Also:
AttachmentLimitType
-
toBuilder
public EbsInfo.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EbsInfo.Builder,EbsInfo>
-
builder
public static EbsInfo.Builder builder()
-
serializableBuilderClass
public static Class<? extends EbsInfo.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
-
-