@Generated(value="software.amazon.awssdk:codegen") public final class GetSubscriptionResponse extends DataZoneResponse implements ToCopyableBuilder<GetSubscriptionResponse.Builder,GetSubscriptionResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetSubscriptionResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetSubscriptionResponse.Builder |
builder() |
Instant |
createdAt()
The timestamp of when the subscription was created.
|
String |
createdBy()
The Amazon DataZone user who created the subscription.
|
String |
domainId()
The ID of the Amazon DataZone domain in which the subscription exists.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The ID of the subscription.
|
Boolean |
retainPermissions()
The retain permissions of the subscription.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetSubscriptionResponse.Builder> |
serializableBuilderClass() |
SubscriptionStatus |
status()
The status of the subscription.
|
String |
statusAsString()
The status of the subscription.
|
SubscribedListing |
subscribedListing()
|
SubscribedPrincipal |
subscribedPrincipal()
The principal that owns the subscription.
|
String |
subscriptionRequestId()
The ID of the subscription request.
|
GetSubscriptionResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Instant |
updatedAt()
The timestamp of when the subscription was updated.
|
String |
updatedBy()
The Amazon DataZone user who updated the subscription.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Instant createdAt()
The timestamp of when the subscription was created.
public final String createdBy()
The Amazon DataZone user who created the subscription.
public final String domainId()
The ID of the Amazon DataZone domain in which the subscription exists.
public final String id()
The ID of the subscription.
public final Boolean retainPermissions()
The retain permissions of the subscription.
public final SubscriptionStatus status()
The status of 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 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()
public final SubscribedPrincipal subscribedPrincipal()
The principal that owns the subscription.
public final String subscriptionRequestId()
The ID of the subscription request.
public final Instant updatedAt()
The timestamp of when the subscription was updated.
public final String updatedBy()
The Amazon DataZone user who updated the subscription.
public GetSubscriptionResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetSubscriptionResponse.Builder,GetSubscriptionResponse>toBuilder in class AwsResponsepublic static GetSubscriptionResponse.Builder builder()
public static Class<? extends GetSubscriptionResponse.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.