Class UpdateSubscriptionGrantStatusRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.datazone.model.DataZoneRequest
-
- software.amazon.awssdk.services.datazone.model.UpdateSubscriptionGrantStatusRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateSubscriptionGrantStatusRequest.Builder,UpdateSubscriptionGrantStatusRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateSubscriptionGrantStatusRequest extends DataZoneRequest implements ToCopyableBuilder<UpdateSubscriptionGrantStatusRequest.Builder,UpdateSubscriptionGrantStatusRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateSubscriptionGrantStatusRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringassetIdentifier()The identifier of the asset the subscription grant status of which is to be updated.static UpdateSubscriptionGrantStatusRequest.Builderbuilder()StringdomainIdentifier()The identifier of the Amazon DataZone domain in which a subscription grant status is to be updated.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)FailureCausefailureCause()Specifies the error message that is returned if the operation cannot be successfully completed.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringidentifier()The identifier of the subscription grant the status of which is to be updated.List<SdkField<?>>sdkFields()static Class<? extends UpdateSubscriptionGrantStatusRequest.Builder>serializableBuilderClass()SubscriptionGrantStatusstatus()The status to be updated as part of theUpdateSubscriptionGrantStatusaction.StringstatusAsString()The status to be updated as part of theUpdateSubscriptionGrantStatusaction.StringtargetName()The target name to be updated as part of theUpdateSubscriptionGrantStatusaction.UpdateSubscriptionGrantStatusRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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
-
assetIdentifier
public final String assetIdentifier()
The identifier of the asset the subscription grant status of which is to be updated.
- Returns:
- The identifier of the asset the subscription grant status of which is to be updated.
-
domainIdentifier
public final String domainIdentifier()
The identifier of the Amazon DataZone domain in which a subscription grant status is to be updated.
- Returns:
- The identifier of the Amazon DataZone domain in which a subscription grant status is to be updated.
-
failureCause
public final FailureCause failureCause()
Specifies the error message that is returned if the operation cannot be successfully completed.
- Returns:
- Specifies the error message that is returned if the operation cannot be successfully completed.
-
identifier
public final String identifier()
The identifier of the subscription grant the status of which is to be updated.
- Returns:
- The identifier of the subscription grant the status of which is to be updated.
-
status
public final SubscriptionGrantStatus status()
The status to be updated as part of the
UpdateSubscriptionGrantStatusaction.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 to be updated as part of the
UpdateSubscriptionGrantStatusaction. - See Also:
SubscriptionGrantStatus
-
statusAsString
public final String statusAsString()
The status to be updated as part of the
UpdateSubscriptionGrantStatusaction.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 to be updated as part of the
UpdateSubscriptionGrantStatusaction. - See Also:
SubscriptionGrantStatus
-
targetName
public final String targetName()
The target name to be updated as part of the
UpdateSubscriptionGrantStatusaction.- Returns:
- The target name to be updated as part of the
UpdateSubscriptionGrantStatusaction.
-
toBuilder
public UpdateSubscriptionGrantStatusRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateSubscriptionGrantStatusRequest.Builder,UpdateSubscriptionGrantStatusRequest>- Specified by:
toBuilderin classDataZoneRequest
-
builder
public static UpdateSubscriptionGrantStatusRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateSubscriptionGrantStatusRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-