@Generated(value="software.amazon.awssdk:codegen") public final class SubscribedAsset extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SubscribedAsset.Builder,SubscribedAsset>
The details of the asset for which the subscription grant is created.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SubscribedAsset.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
assetId()
The identifier of the asset for which the subscription grant is created.
|
String |
assetRevision()
The revision of the asset for which the subscription grant is created.
|
static SubscribedAsset.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
FailureCause |
failureCause()
The failure cause included in the details of the asset for which the subscription grant is created.
|
Instant |
failureTimestamp()
The failure timestamp included in the details of the asset for which the subscription grant is created.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
Instant |
grantedTimestamp()
The timestamp of when the subscription grant to the asset is created.
|
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends SubscribedAsset.Builder> |
serializableBuilderClass() |
SubscriptionGrantStatus |
status()
The status of the asset for which the subscription grant is created.
|
String |
statusAsString()
The status of the asset for which the subscription grant is created.
|
String |
targetName()
The target name of the asset for which the subscription grant is created.
|
SubscribedAsset.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String assetId()
The identifier of the asset for which the subscription grant is created.
public final String assetRevision()
The revision of the asset for which the subscription grant is created.
public final FailureCause failureCause()
The failure cause included in the details of the asset for which the subscription grant is created.
public final Instant failureTimestamp()
The failure timestamp included in the details of the asset for which the subscription grant is created.
public final Instant grantedTimestamp()
The timestamp of when the subscription grant to the asset is created.
public final SubscriptionGrantStatus status()
The status of the asset for which the subscription grant is created.
If the service returns an enum value that is not available in the current SDK version, status will
return SubscriptionGrantStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
SubscriptionGrantStatuspublic final String statusAsString()
The status of the asset for which the subscription grant is created.
If the service returns an enum value that is not available in the current SDK version, status will
return SubscriptionGrantStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
SubscriptionGrantStatuspublic final String targetName()
The target name of the asset for which the subscription grant is created.
public SubscribedAsset.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SubscribedAsset.Builder,SubscribedAsset>public static SubscribedAsset.Builder builder()
public static Class<? extends SubscribedAsset.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.