@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeDocumentPermissionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
DescribeDocumentPermissionRequest() |
| Modifier and Type | Method and Description |
|---|---|
DescribeDocumentPermissionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
The maximum number of items to return for this call.
|
String |
getName()
The name of the document for which you are the owner.
|
String |
getNextToken()
The token for the next set of items to return.
|
String |
getPermissionType()
The permission type for the document.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of items to return for this call.
|
void |
setName(String name)
The name of the document for which you are the owner.
|
void |
setNextToken(String nextToken)
The token for the next set of items to return.
|
void |
setPermissionType(DocumentPermissionType permissionType)
The permission type for the document.
|
void |
setPermissionType(String permissionType)
The permission type for the document.
|
String |
toString()
Returns a string representation of this object.
|
DescribeDocumentPermissionRequest |
withMaxResults(Integer maxResults)
The maximum number of items to return for this call.
|
DescribeDocumentPermissionRequest |
withName(String name)
The name of the document for which you are the owner.
|
DescribeDocumentPermissionRequest |
withNextToken(String nextToken)
The token for the next set of items to return.
|
DescribeDocumentPermissionRequest |
withPermissionType(DocumentPermissionType permissionType)
The permission type for the document.
|
DescribeDocumentPermissionRequest |
withPermissionType(String permissionType)
The permission type for the document.
|
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 setName(String name)
The name of the document for which you are the owner.
name - The name of the document for which you are the owner.public String getName()
The name of the document for which you are the owner.
public DescribeDocumentPermissionRequest withName(String name)
The name of the document for which you are the owner.
name - The name of the document for which you are the owner.public void setPermissionType(String permissionType)
The permission type for the document. The permission type can be Share.
permissionType - The permission type for the document. The permission type can be Share.DocumentPermissionTypepublic String getPermissionType()
The permission type for the document. The permission type can be Share.
DocumentPermissionTypepublic DescribeDocumentPermissionRequest withPermissionType(String permissionType)
The permission type for the document. The permission type can be Share.
permissionType - The permission type for the document. The permission type can be Share.DocumentPermissionTypepublic void setPermissionType(DocumentPermissionType permissionType)
The permission type for the document. The permission type can be Share.
permissionType - The permission type for the document. The permission type can be Share.DocumentPermissionTypepublic DescribeDocumentPermissionRequest withPermissionType(DocumentPermissionType permissionType)
The permission type for the document. The permission type can be Share.
permissionType - The permission type for the document. The permission type can be Share.DocumentPermissionTypepublic void setMaxResults(Integer maxResults)
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
maxResults - The maximum number of items to return for this call. The call also returns a token that you can specify in
a subsequent call to get the next set of results.public Integer getMaxResults()
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
public DescribeDocumentPermissionRequest withMaxResults(Integer maxResults)
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
maxResults - The maximum number of items to return for this call. The call also returns a token that you can specify in
a subsequent call to get the next set of results.public void setNextToken(String nextToken)
The token for the next set of items to return. (You received this token from a previous call.)
nextToken - The token for the next set of items to return. (You received this token from a previous call.)public String getNextToken()
The token for the next set of items to return. (You received this token from a previous call.)
public DescribeDocumentPermissionRequest withNextToken(String nextToken)
The token for the next set of items to return. (You received this token from a previous call.)
nextToken - The token for the next set of items to return. (You received this token from a previous call.)public String toString()
toString in class ObjectObject.toString()public DescribeDocumentPermissionRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()