@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RemoveResourcePermissionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
RemoveResourcePermissionRequest() |
| Modifier and Type | Method and Description |
|---|---|
RemoveResourcePermissionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAuthenticationToken()
Amazon WorkDocs authentication token.
|
String |
getPrincipalId()
The principal ID of the resource.
|
String |
getPrincipalType()
The principal type of the resource.
|
String |
getResourceId()
The ID of the resource.
|
int |
hashCode() |
void |
setAuthenticationToken(String authenticationToken)
Amazon WorkDocs authentication token.
|
void |
setPrincipalId(String principalId)
The principal ID of the resource.
|
void |
setPrincipalType(PrincipalType principalType)
The principal type of the resource.
|
void |
setPrincipalType(String principalType)
The principal type of the resource.
|
void |
setResourceId(String resourceId)
The ID of the resource.
|
String |
toString()
Returns a string representation of this object.
|
RemoveResourcePermissionRequest |
withAuthenticationToken(String authenticationToken)
Amazon WorkDocs authentication token.
|
RemoveResourcePermissionRequest |
withPrincipalId(String principalId)
The principal ID of the resource.
|
RemoveResourcePermissionRequest |
withPrincipalType(PrincipalType principalType)
The principal type of the resource.
|
RemoveResourcePermissionRequest |
withPrincipalType(String principalType)
The principal type of the resource.
|
RemoveResourcePermissionRequest |
withResourceId(String resourceId)
The ID of the resource.
|
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 setAuthenticationToken(String authenticationToken)
Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
authenticationToken - Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator
credentials to access the API.public String getAuthenticationToken()
Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
public RemoveResourcePermissionRequest withAuthenticationToken(String authenticationToken)
Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
authenticationToken - Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator
credentials to access the API.public void setResourceId(String resourceId)
The ID of the resource.
resourceId - The ID of the resource.public String getResourceId()
The ID of the resource.
public RemoveResourcePermissionRequest withResourceId(String resourceId)
The ID of the resource.
resourceId - The ID of the resource.public void setPrincipalId(String principalId)
The principal ID of the resource.
principalId - The principal ID of the resource.public String getPrincipalId()
The principal ID of the resource.
public RemoveResourcePermissionRequest withPrincipalId(String principalId)
The principal ID of the resource.
principalId - The principal ID of the resource.public void setPrincipalType(String principalType)
The principal type of the resource.
principalType - The principal type of the resource.PrincipalTypepublic String getPrincipalType()
The principal type of the resource.
PrincipalTypepublic RemoveResourcePermissionRequest withPrincipalType(String principalType)
The principal type of the resource.
principalType - The principal type of the resource.PrincipalTypepublic void setPrincipalType(PrincipalType principalType)
The principal type of the resource.
principalType - The principal type of the resource.PrincipalTypepublic RemoveResourcePermissionRequest withPrincipalType(PrincipalType principalType)
The principal type of the resource.
principalType - The principal type of the resource.PrincipalTypepublic String toString()
toString in class ObjectObject.toString()public RemoveResourcePermissionRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()