@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RevokeSubscriptionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
RevokeSubscriptionRequest() |
Modifier and Type | Method and Description |
---|---|
RevokeSubscriptionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDomainIdentifier()
The identifier of the Amazon DataZone domain where you want to revoke a subscription.
|
String |
getIdentifier()
The identifier of the revoked subscription.
|
Boolean |
getRetainPermissions()
Specifies whether permissions are retained when the subscription is revoked.
|
int |
hashCode() |
Boolean |
isRetainPermissions()
Specifies whether permissions are retained when the subscription is revoked.
|
void |
setDomainIdentifier(String domainIdentifier)
The identifier of the Amazon DataZone domain where you want to revoke a subscription.
|
void |
setIdentifier(String identifier)
The identifier of the revoked subscription.
|
void |
setRetainPermissions(Boolean retainPermissions)
Specifies whether permissions are retained when the subscription is revoked.
|
String |
toString()
Returns a string representation of this object.
|
RevokeSubscriptionRequest |
withDomainIdentifier(String domainIdentifier)
The identifier of the Amazon DataZone domain where you want to revoke a subscription.
|
RevokeSubscriptionRequest |
withIdentifier(String identifier)
The identifier of the revoked subscription.
|
RevokeSubscriptionRequest |
withRetainPermissions(Boolean retainPermissions)
Specifies whether permissions are retained when the subscription is revoked.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setDomainIdentifier(String domainIdentifier)
The identifier of the Amazon DataZone domain where you want to revoke a subscription.
domainIdentifier
- The identifier of the Amazon DataZone domain where you want to revoke a subscription.public String getDomainIdentifier()
The identifier of the Amazon DataZone domain where you want to revoke a subscription.
public RevokeSubscriptionRequest withDomainIdentifier(String domainIdentifier)
The identifier of the Amazon DataZone domain where you want to revoke a subscription.
domainIdentifier
- The identifier of the Amazon DataZone domain where you want to revoke a subscription.public void setIdentifier(String identifier)
The identifier of the revoked subscription.
identifier
- The identifier of the revoked subscription.public String getIdentifier()
The identifier of the revoked subscription.
public RevokeSubscriptionRequest withIdentifier(String identifier)
The identifier of the revoked subscription.
identifier
- 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 RevokeSubscriptionRequest 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 String toString()
toString
in class Object
Object.toString()
public RevokeSubscriptionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()