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