@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) |
String |
getName()
The name of the document for which you are the owner.
|
String |
getPermissionType()
The permission type for the document.
|
int |
hashCode() |
void |
setName(String name)
The name of the document for which you are the owner.
|
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; useful for testing and debugging.
|
DescribeDocumentPermissionRequest |
withName(String name)
The name of the document for which you are the owner.
|
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, withSdkRequestTimeout
public 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.DocumentPermissionType
public String getPermissionType()
The permission type for the document. The permission type can be Share.
DocumentPermissionType
public 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.DocumentPermissionType
public 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.DocumentPermissionType
public 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.DocumentPermissionType
public String toString()
toString
in class Object
Object.toString()
public DescribeDocumentPermissionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.