@Generated(value="software.amazon.awssdk:codegen") public final class ProductViewDetail extends Object implements StructuredPojo, ToCopyableBuilder<ProductViewDetail.Builder,ProductViewDetail>
Detailed product view information.
Modifier and Type | Class and Description |
---|---|
static interface |
ProductViewDetail.Builder |
Modifier and Type | Method and Description |
---|---|
static ProductViewDetail.Builder |
builder() |
Instant |
createdTime()
The UTC timestamp of the creation time.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
productARN()
The ARN associated with the product.
|
ProductViewSummary |
productViewSummary()
The summary metadata about the specified product view.
|
static Class<? extends ProductViewDetail.Builder> |
serializableBuilderClass() |
Status |
status()
Current status of the product.
|
String |
statusAsString()
Current status of the product.
|
ProductViewDetail.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public ProductViewSummary productViewSummary()
The summary metadata about the specified product view.
public Status status()
Current status of the product.
AVAILABLE
- Product is available for use.
CREATING
- Creation of product started, not ready for use.
FAILED
- Action on product failed.
If the service returns an enum value that is not available in the current SDK version, status
will
return Status.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
statusAsString()
.
AVAILABLE
- Product is available for use.
CREATING
- Creation of product started, not ready for use.
FAILED
- Action on product failed.
Status
public String statusAsString()
Current status of the product.
AVAILABLE
- Product is available for use.
CREATING
- Creation of product started, not ready for use.
FAILED
- Action on product failed.
If the service returns an enum value that is not available in the current SDK version, status
will
return Status.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
statusAsString()
.
AVAILABLE
- Product is available for use.
CREATING
- Creation of product started, not ready for use.
FAILED
- Action on product failed.
Status
public String productARN()
The ARN associated with the product.
public Instant createdTime()
The UTC timestamp of the creation time.
public ProductViewDetail.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ProductViewDetail.Builder,ProductViewDetail>
public static ProductViewDetail.Builder builder()
public static Class<? extends ProductViewDetail.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.