@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CancelSubscriptionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CancelSubscriptionResult() |
Modifier and Type | Method and Description |
---|---|
CancelSubscriptionResult |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedAt()
The timestamp that specifies when the request to cancel the subscription was created.
|
String |
getCreatedBy()
Specifies the Amazon DataZone user who is cancelling the subscription.
|
String |
getDomainId()
The unique identifier of the Amazon DataZone domain where the subscription is being cancelled.
|
String |
getId()
The identifier of the subscription.
|
Boolean |
getRetainPermissions()
Specifies whether the permissions to the asset are retained after the subscription is cancelled.
|
String |
getStatus()
The status of the request to cancel the subscription.
|
SubscribedListing |
getSubscribedListing()
The asset to which a subscription is being cancelled.
|
SubscribedPrincipal |
getSubscribedPrincipal()
The Amazon DataZone user who is made a subscriber to the specified asset by the subscription that is being
cancelled.
|
String |
getSubscriptionRequestId()
The unique ID of the subscripton request for the subscription that is being cancelled.
|
Date |
getUpdatedAt()
The timestamp that specifies when the subscription was cancelled.
|
String |
getUpdatedBy()
The Amazon DataZone user that cancelled the subscription.
|
int |
hashCode() |
Boolean |
isRetainPermissions()
Specifies whether the permissions to the asset are retained after the subscription is cancelled.
|
void |
setCreatedAt(Date createdAt)
The timestamp that specifies when the request to cancel the subscription was created.
|
void |
setCreatedBy(String createdBy)
Specifies the Amazon DataZone user who is cancelling the subscription.
|
void |
setDomainId(String domainId)
The unique identifier of the Amazon DataZone domain where the subscription is being cancelled.
|
void |
setId(String id)
The identifier of the subscription.
|
void |
setRetainPermissions(Boolean retainPermissions)
Specifies whether the permissions to the asset are retained after the subscription is cancelled.
|
void |
setStatus(String status)
The status of the request to cancel the subscription.
|
void |
setSubscribedListing(SubscribedListing subscribedListing)
The asset to which a subscription is being cancelled.
|
void |
setSubscribedPrincipal(SubscribedPrincipal subscribedPrincipal)
The Amazon DataZone user who is made a subscriber to the specified asset by the subscription that is being
cancelled.
|
void |
setSubscriptionRequestId(String subscriptionRequestId)
The unique ID of the subscripton request for the subscription that is being cancelled.
|
void |
setUpdatedAt(Date updatedAt)
The timestamp that specifies when the subscription was cancelled.
|
void |
setUpdatedBy(String updatedBy)
The Amazon DataZone user that cancelled the subscription.
|
String |
toString()
Returns a string representation of this object.
|
CancelSubscriptionResult |
withCreatedAt(Date createdAt)
The timestamp that specifies when the request to cancel the subscription was created.
|
CancelSubscriptionResult |
withCreatedBy(String createdBy)
Specifies the Amazon DataZone user who is cancelling the subscription.
|
CancelSubscriptionResult |
withDomainId(String domainId)
The unique identifier of the Amazon DataZone domain where the subscription is being cancelled.
|
CancelSubscriptionResult |
withId(String id)
The identifier of the subscription.
|
CancelSubscriptionResult |
withRetainPermissions(Boolean retainPermissions)
Specifies whether the permissions to the asset are retained after the subscription is cancelled.
|
CancelSubscriptionResult |
withStatus(String status)
The status of the request to cancel the subscription.
|
CancelSubscriptionResult |
withStatus(SubscriptionStatus status)
The status of the request to cancel the subscription.
|
CancelSubscriptionResult |
withSubscribedListing(SubscribedListing subscribedListing)
The asset to which a subscription is being cancelled.
|
CancelSubscriptionResult |
withSubscribedPrincipal(SubscribedPrincipal subscribedPrincipal)
The Amazon DataZone user who is made a subscriber to the specified asset by the subscription that is being
cancelled.
|
CancelSubscriptionResult |
withSubscriptionRequestId(String subscriptionRequestId)
The unique ID of the subscripton request for the subscription that is being cancelled.
|
CancelSubscriptionResult |
withUpdatedAt(Date updatedAt)
The timestamp that specifies when the subscription was cancelled.
|
CancelSubscriptionResult |
withUpdatedBy(String updatedBy)
The Amazon DataZone user that cancelled the subscription.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setCreatedAt(Date createdAt)
The timestamp that specifies when the request to cancel the subscription was created.
createdAt
- The timestamp that specifies when the request to cancel the subscription was created.public Date getCreatedAt()
The timestamp that specifies when the request to cancel the subscription was created.
public CancelSubscriptionResult withCreatedAt(Date createdAt)
The timestamp that specifies when the request to cancel the subscription was created.
createdAt
- The timestamp that specifies when the request to cancel the subscription was created.public void setCreatedBy(String createdBy)
Specifies the Amazon DataZone user who is cancelling the subscription.
createdBy
- Specifies the Amazon DataZone user who is cancelling the subscription.public String getCreatedBy()
Specifies the Amazon DataZone user who is cancelling the subscription.
public CancelSubscriptionResult withCreatedBy(String createdBy)
Specifies the Amazon DataZone user who is cancelling the subscription.
createdBy
- Specifies the Amazon DataZone user who is cancelling the subscription.public void setDomainId(String domainId)
The unique identifier of the Amazon DataZone domain where the subscription is being cancelled.
domainId
- The unique identifier of the Amazon DataZone domain where the subscription is being cancelled.public String getDomainId()
The unique identifier of the Amazon DataZone domain where the subscription is being cancelled.
public CancelSubscriptionResult withDomainId(String domainId)
The unique identifier of the Amazon DataZone domain where the subscription is being cancelled.
domainId
- The unique identifier of the Amazon DataZone domain where the subscription is being cancelled.public void setId(String id)
The identifier of the subscription.
id
- The identifier of the subscription.public String getId()
The identifier of the subscription.
public CancelSubscriptionResult withId(String id)
The identifier of the subscription.
id
- The identifier of the subscription.public void setRetainPermissions(Boolean retainPermissions)
Specifies whether the permissions to the asset are retained after the subscription is cancelled.
retainPermissions
- Specifies whether the permissions to the asset are retained after the subscription is cancelled.public Boolean getRetainPermissions()
Specifies whether the permissions to the asset are retained after the subscription is cancelled.
public CancelSubscriptionResult withRetainPermissions(Boolean retainPermissions)
Specifies whether the permissions to the asset are retained after the subscription is cancelled.
retainPermissions
- Specifies whether the permissions to the asset are retained after the subscription is cancelled.public Boolean isRetainPermissions()
Specifies whether the permissions to the asset are retained after the subscription is cancelled.
public void setStatus(String status)
The status of the request to cancel the subscription.
status
- The status of the request to cancel the subscription.SubscriptionStatus
public String getStatus()
The status of the request to cancel the subscription.
SubscriptionStatus
public CancelSubscriptionResult withStatus(String status)
The status of the request to cancel the subscription.
status
- The status of the request to cancel the subscription.SubscriptionStatus
public CancelSubscriptionResult withStatus(SubscriptionStatus status)
The status of the request to cancel the subscription.
status
- The status of the request to cancel the subscription.SubscriptionStatus
public void setSubscribedListing(SubscribedListing subscribedListing)
The asset to which a subscription is being cancelled.
subscribedListing
- The asset to which a subscription is being cancelled.public SubscribedListing getSubscribedListing()
The asset to which a subscription is being cancelled.
public CancelSubscriptionResult withSubscribedListing(SubscribedListing subscribedListing)
The asset to which a subscription is being cancelled.
subscribedListing
- The asset to which a subscription is being cancelled.public void setSubscribedPrincipal(SubscribedPrincipal subscribedPrincipal)
The Amazon DataZone user who is made a subscriber to the specified asset by the subscription that is being cancelled.
subscribedPrincipal
- The Amazon DataZone user who is made a subscriber to the specified asset by the subscription that is being
cancelled.public SubscribedPrincipal getSubscribedPrincipal()
The Amazon DataZone user who is made a subscriber to the specified asset by the subscription that is being cancelled.
public CancelSubscriptionResult withSubscribedPrincipal(SubscribedPrincipal subscribedPrincipal)
The Amazon DataZone user who is made a subscriber to the specified asset by the subscription that is being cancelled.
subscribedPrincipal
- The Amazon DataZone user who is made a subscriber to the specified asset by the subscription that is being
cancelled.public void setSubscriptionRequestId(String subscriptionRequestId)
The unique ID of the subscripton request for the subscription that is being cancelled.
subscriptionRequestId
- The unique ID of the subscripton request for the subscription that is being cancelled.public String getSubscriptionRequestId()
The unique ID of the subscripton request for the subscription that is being cancelled.
public CancelSubscriptionResult withSubscriptionRequestId(String subscriptionRequestId)
The unique ID of the subscripton request for the subscription that is being cancelled.
subscriptionRequestId
- The unique ID of the subscripton request for the subscription that is being cancelled.public void setUpdatedAt(Date updatedAt)
The timestamp that specifies when the subscription was cancelled.
updatedAt
- The timestamp that specifies when the subscription was cancelled.public Date getUpdatedAt()
The timestamp that specifies when the subscription was cancelled.
public CancelSubscriptionResult withUpdatedAt(Date updatedAt)
The timestamp that specifies when the subscription was cancelled.
updatedAt
- The timestamp that specifies when the subscription was cancelled.public void setUpdatedBy(String updatedBy)
The Amazon DataZone user that cancelled the subscription.
updatedBy
- The Amazon DataZone user that cancelled the subscription.public String getUpdatedBy()
The Amazon DataZone user that cancelled the subscription.
public CancelSubscriptionResult withUpdatedBy(String updatedBy)
The Amazon DataZone user that cancelled the subscription.
updatedBy
- The Amazon DataZone user that cancelled the subscription.public String toString()
toString
in class Object
Object.toString()
public CancelSubscriptionResult clone()