Class ProductCodeListItem
- java.lang.Object
-
- software.amazon.awssdk.services.imagebuilder.model.ProductCodeListItem
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ProductCodeListItem.Builder,ProductCodeListItem>
@Generated("software.amazon.awssdk:codegen") public final class ProductCodeListItem extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ProductCodeListItem.Builder,ProductCodeListItem>
Information about a single product code.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceProductCodeListItem.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProductCodeListItem.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringproductCodeId()For Amazon Web Services Marketplace components, this contains the product code ID that can be stamped onto an EC2 AMI to ensure that components are billed correctly.ProductCodeTypeproductCodeType()The owner of the product code that's billed.StringproductCodeTypeAsString()The owner of the product code that's billed.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ProductCodeListItem.Builder>serializableBuilderClass()ProductCodeListItem.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
-
productCodeId
public final String productCodeId()
For Amazon Web Services Marketplace components, this contains the product code ID that can be stamped onto an EC2 AMI to ensure that components are billed correctly. If this property is empty, it might mean that the component is not published.
- Returns:
- For Amazon Web Services Marketplace components, this contains the product code ID that can be stamped onto an EC2 AMI to ensure that components are billed correctly. If this property is empty, it might mean that the component is not published.
-
productCodeType
public final ProductCodeType productCodeType()
The owner of the product code that's billed. If this property is empty, it might mean that the component is not published.
If the service returns an enum value that is not available in the current SDK version,
productCodeTypewill returnProductCodeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromproductCodeTypeAsString().- Returns:
- The owner of the product code that's billed. If this property is empty, it might mean that the component is not published.
- See Also:
ProductCodeType
-
productCodeTypeAsString
public final String productCodeTypeAsString()
The owner of the product code that's billed. If this property is empty, it might mean that the component is not published.
If the service returns an enum value that is not available in the current SDK version,
productCodeTypewill returnProductCodeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromproductCodeTypeAsString().- Returns:
- The owner of the product code that's billed. If this property is empty, it might mean that the component is not published.
- See Also:
ProductCodeType
-
toBuilder
public ProductCodeListItem.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ProductCodeListItem.Builder,ProductCodeListItem>
-
builder
public static ProductCodeListItem.Builder builder()
-
serializableBuilderClass
public static Class<? extends ProductCodeListItem.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
-
-