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 DescribeDocumentPermissionRequest
clone()
Creates a shallow clone of this request.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.-
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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeDocumentPermissionRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-