@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 |
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 |
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; useful for testing and debugging.
|
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, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic 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()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.