Class SubscribedAsset
- java.lang.Object
-
- software.amazon.awssdk.services.datazone.model.SubscribedAsset
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SubscribedAsset.Builder,SubscribedAsset>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSubscribedAsset.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringassetId()The identifier of the asset for which the subscription grant is created.StringassetRevision()The revision of the asset for which the subscription grant is created.static SubscribedAsset.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)FailureCausefailureCause()The failure cause included in the details of the asset for which the subscription grant is created.InstantfailureTimestamp()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)InstantgrantedTimestamp()The timestamp of when the subscription grant to the asset is created.inthashCode()List<SdkField<?>>sdkFields()static Class<? extends SubscribedAsset.Builder>serializableBuilderClass()SubscriptionGrantStatusstatus()The status of the asset for which the subscription grant is created.StringstatusAsString()The status of the asset for which the subscription grant is created.StringtargetName()The target name of the asset for which the subscription grant is created.SubscribedAsset.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
-
assetId
public final String assetId()
The identifier of the asset for which the subscription grant is created.
- Returns:
- The identifier of the asset for which the subscription grant is created.
-
assetRevision
public final String assetRevision()
The revision of the asset for which the subscription grant is created.
- Returns:
- The revision of the asset for which the subscription grant is created.
-
failureCause
public final FailureCause failureCause()
The failure cause included in the details of the asset for which the subscription grant is created.
- Returns:
- The failure cause included in the details of the asset for which the subscription grant is created.
-
failureTimestamp
public final Instant failureTimestamp()
The failure timestamp included in the details of the asset for which the subscription grant is created.
- Returns:
- The failure timestamp included in the details of the asset for which the subscription grant is created.
-
grantedTimestamp
public final Instant grantedTimestamp()
The timestamp of when the subscription grant to the asset is created.
- Returns:
- The timestamp of when the subscription grant to the asset is created.
-
status
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,
statuswill returnSubscriptionGrantStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the asset for which the subscription grant is created.
- See Also:
SubscriptionGrantStatus
-
statusAsString
public 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,
statuswill returnSubscriptionGrantStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the asset for which the subscription grant is created.
- See Also:
SubscriptionGrantStatus
-
targetName
public final String targetName()
The target name of the asset for which the subscription grant is created.
- Returns:
- The target name of the asset for which the subscription grant is created.
-
toBuilder
public SubscribedAsset.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SubscribedAsset.Builder,SubscribedAsset>
-
builder
public static SubscribedAsset.Builder builder()
-
serializableBuilderClass
public static Class<? extends SubscribedAsset.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.
-
-