Class DescribeDocumentPermissionRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.simplesystemsmanagement.model.DescribeDocumentPermissionRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class DescribeDocumentPermissionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DescribeDocumentPermissionRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeDocumentPermissionRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetName()The name of the document for which you are the owner.StringgetPermissionType()The permission type for the document.inthashCode()voidsetName(String name)The name of the document for which you are the owner.voidsetPermissionType(DocumentPermissionType permissionType)The permission type for the document.voidsetPermissionType(String permissionType)The permission type for the document.StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeDocumentPermissionRequestwithName(String name)The name of the document for which you are the owner.DescribeDocumentPermissionRequestwithPermissionType(DocumentPermissionType permissionType)The permission type for the document.DescribeDocumentPermissionRequestwithPermissionType(String permissionType)The permission type for the document.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setName
public void setName(String name)
The name of the document for which you are the owner.
- Parameters:
name- The name of the document for which you are the owner.
-
getName
public String getName()
The name of the document for which you are the owner.
- Returns:
- The name of the document for which you are the owner.
-
withName
public DescribeDocumentPermissionRequest withName(String name)
The name of the document for which you are the owner.
- Parameters:
name- The name of the document for which you are the owner.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPermissionType
public void setPermissionType(String permissionType)
The permission type for the document. The permission type can be Share.
- Parameters:
permissionType- The permission type for the document. The permission type can be Share.- See Also:
DocumentPermissionType
-
getPermissionType
public String getPermissionType()
The permission type for the document. The permission type can be Share.
- Returns:
- The permission type for the document. The permission type can be Share.
- See Also:
DocumentPermissionType
-
withPermissionType
public DescribeDocumentPermissionRequest withPermissionType(String permissionType)
The permission type for the document. The permission type can be Share.
- Parameters:
permissionType- The permission type for the document. The permission type can be Share.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DocumentPermissionType
-
setPermissionType
public void setPermissionType(DocumentPermissionType permissionType)
The permission type for the document. The permission type can be Share.
- Parameters:
permissionType- The permission type for the document. The permission type can be Share.- See Also:
DocumentPermissionType
-
withPermissionType
public DescribeDocumentPermissionRequest withPermissionType(DocumentPermissionType permissionType)
The permission type for the document. The permission type can be Share.
- Parameters:
permissionType- The permission type for the document. The permission type can be Share.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DocumentPermissionType
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeDocumentPermissionRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-