@Generated(value="software.amazon.awssdk:codegen") public final class ProductCode extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ProductCode.Builder,ProductCode>
Describes a product code.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ProductCode.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ProductCode.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
productCodeId()
The product code.
|
ProductCodeValues |
productCodeType()
The type of product code.
|
String |
productCodeTypeAsString()
The type of product code.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ProductCode.Builder> |
serializableBuilderClass() |
ProductCode.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String productCodeId()
The product code.
public final ProductCodeValues productCodeType()
The type of product code.
If the service returns an enum value that is not available in the current SDK version, productCodeType
will return ProductCodeValues.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from productCodeTypeAsString().
ProductCodeValuespublic final String productCodeTypeAsString()
The type of product code.
If the service returns an enum value that is not available in the current SDK version, productCodeType
will return ProductCodeValues.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from productCodeTypeAsString().
ProductCodeValuespublic ProductCode.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ProductCode.Builder,ProductCode>public static ProductCode.Builder builder()
public static Class<? extends ProductCode.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.