@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RevokeRevisionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
RevokeRevisionRequest() |
| Modifier and Type | Method and Description |
|---|---|
RevokeRevisionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDataSetId()
The unique identifier for a data set.
|
String |
getRevisionId()
The unique identifier for a revision.
|
String |
getRevocationComment()
A required comment to inform subscribers of the reason their access to the revision was revoked.
|
int |
hashCode() |
void |
setDataSetId(String dataSetId)
The unique identifier for a data set.
|
void |
setRevisionId(String revisionId)
The unique identifier for a revision.
|
void |
setRevocationComment(String revocationComment)
A required comment to inform subscribers of the reason their access to the revision was revoked.
|
String |
toString()
Returns a string representation of this object.
|
RevokeRevisionRequest |
withDataSetId(String dataSetId)
The unique identifier for a data set.
|
RevokeRevisionRequest |
withRevisionId(String revisionId)
The unique identifier for a revision.
|
RevokeRevisionRequest |
withRevocationComment(String revocationComment)
A required comment to inform subscribers of the reason their access to the revision was 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, withSdkRequestTimeoutpublic void setDataSetId(String dataSetId)
The unique identifier for a data set.
dataSetId - The unique identifier for a data set.public String getDataSetId()
The unique identifier for a data set.
public RevokeRevisionRequest withDataSetId(String dataSetId)
The unique identifier for a data set.
dataSetId - The unique identifier for a data set.public void setRevisionId(String revisionId)
The unique identifier for a revision.
revisionId - The unique identifier for a revision.public String getRevisionId()
The unique identifier for a revision.
public RevokeRevisionRequest withRevisionId(String revisionId)
The unique identifier for a revision.
revisionId - The unique identifier for a revision.public void setRevocationComment(String revocationComment)
A required comment to inform subscribers of the reason their access to the revision was revoked.
revocationComment - A required comment to inform subscribers of the reason their access to the revision was revoked.public String getRevocationComment()
A required comment to inform subscribers of the reason their access to the revision was revoked.
public RevokeRevisionRequest withRevocationComment(String revocationComment)
A required comment to inform subscribers of the reason their access to the revision was revoked.
revocationComment - A required comment to inform subscribers of the reason their access to the revision was revoked.public String toString()
toString in class ObjectObject.toString()public RevokeRevisionRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()