@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteResourcePermissionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DeleteResourcePermissionRequest() |
Modifier and Type | Method and Description |
---|---|
DeleteResourcePermissionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getActionType()
Delete or restore the permissions on the target database.
|
String |
getResourceArn()
The Amazon Resource Name (ARN) of the resource.
|
String |
getSourceResourceArn()
The Amazon Resource Name (ARN) of the source resource.
|
int |
hashCode() |
void |
setActionType(String actionType)
Delete or restore the permissions on the target database.
|
void |
setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource.
|
void |
setSourceResourceArn(String sourceResourceArn)
The Amazon Resource Name (ARN) of the source resource.
|
String |
toString()
Returns a string representation of this object.
|
DeleteResourcePermissionRequest |
withActionType(PermissionActionType actionType)
Delete or restore the permissions on the target database.
|
DeleteResourcePermissionRequest |
withActionType(String actionType)
Delete or restore the permissions on the target database.
|
DeleteResourcePermissionRequest |
withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource.
|
DeleteResourcePermissionRequest |
withSourceResourceArn(String sourceResourceArn)
The Amazon Resource Name (ARN) of the source 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, withSdkRequestTimeout
public void setActionType(String actionType)
Delete or restore the permissions on the target database.
actionType
- Delete or restore the permissions on the target database.PermissionActionType
public String getActionType()
Delete or restore the permissions on the target database.
PermissionActionType
public DeleteResourcePermissionRequest withActionType(String actionType)
Delete or restore the permissions on the target database.
actionType
- Delete or restore the permissions on the target database.PermissionActionType
public DeleteResourcePermissionRequest withActionType(PermissionActionType actionType)
Delete or restore the permissions on the target database.
actionType
- Delete or restore the permissions on the target database.PermissionActionType
public void setSourceResourceArn(String sourceResourceArn)
The Amazon Resource Name (ARN) of the source resource.
sourceResourceArn
- The Amazon Resource Name (ARN) of the source resource.public String getSourceResourceArn()
The Amazon Resource Name (ARN) of the source resource.
public DeleteResourcePermissionRequest withSourceResourceArn(String sourceResourceArn)
The Amazon Resource Name (ARN) of the source resource.
sourceResourceArn
- The Amazon Resource Name (ARN) of the source resource.public void setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource.
resourceArn
- The Amazon Resource Name (ARN) of the resource.public String getResourceArn()
The Amazon Resource Name (ARN) of the resource.
public DeleteResourcePermissionRequest withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource.
resourceArn
- The Amazon Resource Name (ARN) of the resource.public String toString()
toString
in class Object
Object.toString()
public DeleteResourcePermissionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()