Class RevokeSubscriptionResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.datazone.model.DataZoneResponse
-
- software.amazon.awssdk.services.datazone.model.RevokeSubscriptionResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<RevokeSubscriptionResponse.Builder,RevokeSubscriptionResponse>
@Generated("software.amazon.awssdk:codegen") public final class RevokeSubscriptionResponse extends DataZoneResponse implements ToCopyableBuilder<RevokeSubscriptionResponse.Builder,RevokeSubscriptionResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRevokeSubscriptionResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RevokeSubscriptionResponse.Builderbuilder()InstantcreatedAt()The timestamp of when the subscription was revoked.StringcreatedBy()The identifier of the user who revoked the subscription.StringdomainId()The identifier of the Amazon DataZone domain where you want to revoke a subscription.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The identifier of the revoked subscription.BooleanretainPermissions()Specifies whether permissions are retained when the subscription is revoked.List<SdkField<?>>sdkFields()static Class<? extends RevokeSubscriptionResponse.Builder>serializableBuilderClass()SubscriptionStatusstatus()The status of the revoked subscription.StringstatusAsString()The status of the revoked subscription.SubscribedListingsubscribedListing()The subscribed listing of the revoked subscription.SubscribedPrincipalsubscribedPrincipal()The subscribed principal of the revoked subscription.StringsubscriptionRequestId()The identifier of the subscription request for the revoked subscription.RevokeSubscriptionResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.InstantupdatedAt()The timestamp of when the subscription was revoked.StringupdatedBy()The Amazon DataZone user who revoked the subscription.-
Methods inherited from class software.amazon.awssdk.services.datazone.model.DataZoneResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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
-
createdAt
public final Instant createdAt()
The timestamp of when the subscription was revoked.
- Returns:
- The timestamp of when the subscription was revoked.
-
createdBy
public final String createdBy()
The identifier of the user who revoked the subscription.
- Returns:
- The identifier of the user who revoked the subscription.
-
domainId
public final String domainId()
The identifier of the Amazon DataZone domain where you want to revoke a subscription.
- Returns:
- The identifier of the Amazon DataZone domain where you want to revoke a subscription.
-
id
public final String id()
The identifier of the revoked subscription.
- Returns:
- The identifier of the revoked subscription.
-
retainPermissions
public final Boolean retainPermissions()
Specifies whether permissions are retained when the subscription is revoked.
- Returns:
- Specifies whether permissions are retained when the subscription is revoked.
-
status
public final SubscriptionStatus status()
The status of the revoked subscription.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnSubscriptionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the revoked subscription.
- See Also:
SubscriptionStatus
-
statusAsString
public final String statusAsString()
The status of the revoked subscription.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnSubscriptionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the revoked subscription.
- See Also:
SubscriptionStatus
-
subscribedListing
public final SubscribedListing subscribedListing()
The subscribed listing of the revoked subscription.
- Returns:
- The subscribed listing of the revoked subscription.
-
subscribedPrincipal
public final SubscribedPrincipal subscribedPrincipal()
The subscribed principal of the revoked subscription.
- Returns:
- The subscribed principal of the revoked subscription.
-
subscriptionRequestId
public final String subscriptionRequestId()
The identifier of the subscription request for the revoked subscription.
- Returns:
- The identifier of the subscription request for the revoked subscription.
-
updatedAt
public final Instant updatedAt()
The timestamp of when the subscription was revoked.
- Returns:
- The timestamp of when the subscription was revoked.
-
updatedBy
public final String updatedBy()
The Amazon DataZone user who revoked the subscription.
- Returns:
- The Amazon DataZone user who revoked the subscription.
-
toBuilder
public RevokeSubscriptionResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RevokeSubscriptionResponse.Builder,RevokeSubscriptionResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static RevokeSubscriptionResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends RevokeSubscriptionResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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 classSdkResponse
-
-