@Generated(value="software.amazon.awssdk:codegen") public final class CancelSubscriptionResponse extends DataZoneResponse implements ToCopyableBuilder<CancelSubscriptionResponse.Builder,CancelSubscriptionResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CancelSubscriptionResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CancelSubscriptionResponse.Builder |
builder() |
Instant |
createdAt()
The timestamp that specifies when the request to cancel the subscription was created.
|
String |
createdBy()
Specifies the Amazon DataZone user who is cancelling the subscription.
|
String |
domainId()
The unique identifier of the Amazon DataZone domain where the subscription is being cancelled.
|
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 subscription.
|
Boolean |
retainPermissions()
Specifies whether the permissions to the asset are retained after the subscription is cancelled.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CancelSubscriptionResponse.Builder> |
serializableBuilderClass() |
SubscriptionStatus |
status()
The status of the request to cancel the subscription.
|
String |
statusAsString()
The status of the request to cancel the subscription.
|
SubscribedListing |
subscribedListing()
The asset to which a subscription is being cancelled.
|
SubscribedPrincipal |
subscribedPrincipal()
The Amazon DataZone user who is made a subscriber to the specified asset by the subscription that is being
cancelled.
|
String |
subscriptionRequestId()
The unique ID of the subscripton request for the subscription that is being cancelled.
|
CancelSubscriptionResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Instant |
updatedAt()
The timestamp that specifies when the subscription was cancelled.
|
String |
updatedBy()
The Amazon DataZone user that cancelled the subscription.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Instant createdAt()
The timestamp that specifies when the request to cancel the subscription was created.
public final String createdBy()
Specifies the Amazon DataZone user who is cancelling the subscription.
public final String domainId()
The unique identifier of the Amazon DataZone domain where the subscription is being cancelled.
public final String id()
The identifier of the subscription.
public final Boolean retainPermissions()
Specifies whether the permissions to the asset are retained after the subscription is cancelled.
public final SubscriptionStatus status()
The status of the request to cancel the 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 request to cancel the 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 asset to which a subscription is being cancelled.
public final SubscribedPrincipal subscribedPrincipal()
The Amazon DataZone user who is made a subscriber to the specified asset by the subscription that is being cancelled.
public final String subscriptionRequestId()
The unique ID of the subscripton request for the subscription that is being cancelled.
public final Instant updatedAt()
The timestamp that specifies when the subscription was cancelled.
public final String updatedBy()
The Amazon DataZone user that cancelled the subscription.
public CancelSubscriptionResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CancelSubscriptionResponse.Builder,CancelSubscriptionResponse>toBuilder in class AwsResponsepublic static CancelSubscriptionResponse.Builder builder()
public static Class<? extends CancelSubscriptionResponse.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.