@Generated(value="software.amazon.awssdk:codegen") public final class RevokeSubscriptionResponse extends DataZoneResponse implements ToCopyableBuilder<RevokeSubscriptionResponse.Builder,RevokeSubscriptionResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
RevokeSubscriptionResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static RevokeSubscriptionResponse.Builder |
builder() |
Instant |
createdAt()
The timestamp of when the subscription was revoked.
|
String |
createdBy()
The identifier of the user who revoked the subscription.
|
String |
domainId()
The identifier of the Amazon DataZone domain where you want to revoke a subscription.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The identifier of the revoked subscription.
|
Boolean |
retainPermissions()
Specifies whether permissions are retained when the subscription is revoked.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends RevokeSubscriptionResponse.Builder> |
serializableBuilderClass() |
SubscriptionStatus |
status()
The status of the revoked subscription.
|
String |
statusAsString()
The status of the revoked subscription.
|
SubscribedListing |
subscribedListing()
The subscribed listing of the revoked subscription.
|
SubscribedPrincipal |
subscribedPrincipal()
The subscribed principal of the revoked subscription.
|
String |
subscriptionRequestId()
The identifier of the subscription request for the revoked subscription.
|
RevokeSubscriptionResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Instant |
updatedAt()
The timestamp of when the subscription was revoked.
|
String |
updatedBy()
The Amazon DataZone user who revoked the subscription.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Instant createdAt()
The timestamp of when the subscription was revoked.
public final String createdBy()
The identifier of the user who revoked the subscription.
public final String domainId()
The identifier of the Amazon DataZone domain where you want to revoke a subscription.
public final String id()
The identifier of the revoked subscription.
public final Boolean retainPermissions()
Specifies whether permissions are retained when the subscription is revoked.
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, status will
return SubscriptionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
SubscriptionStatuspublic 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, status will
return SubscriptionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
SubscriptionStatuspublic final SubscribedListing subscribedListing()
The subscribed listing of the revoked subscription.
public final SubscribedPrincipal subscribedPrincipal()
The subscribed principal of the revoked subscription.
public final String subscriptionRequestId()
The identifier of the subscription request for the revoked subscription.
public final Instant updatedAt()
The timestamp of when the subscription was revoked.
public final String updatedBy()
The Amazon DataZone user who revoked the subscription.
public RevokeSubscriptionResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RevokeSubscriptionResponse.Builder,RevokeSubscriptionResponse>toBuilder in class AwsResponsepublic static RevokeSubscriptionResponse.Builder builder()
public static Class<? extends RevokeSubscriptionResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.