@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetPermissionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
GetPermissionRequest() |
| Modifier and Type | Method and Description |
|---|---|
GetPermissionRequest |
clone() |
boolean |
equals(Object obj) |
String |
getPermissionArn()
The ARN of the permission.
|
Integer |
getPermissionVersion()
The identifier for the version of the permission.
|
int |
hashCode() |
void |
setPermissionArn(String permissionArn)
The ARN of the permission.
|
void |
setPermissionVersion(Integer permissionVersion)
The identifier for the version of the permission.
|
String |
toString()
Returns a string representation of this object.
|
GetPermissionRequest |
withPermissionArn(String permissionArn)
The ARN of the permission.
|
GetPermissionRequest |
withPermissionVersion(Integer permissionVersion)
The identifier for the version of the permission.
|
addHandlerContext, copyBaseTo, 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 setPermissionArn(String permissionArn)
The ARN of the permission.
permissionArn - The ARN of the permission.public String getPermissionArn()
The ARN of the permission.
public GetPermissionRequest withPermissionArn(String permissionArn)
The ARN of the permission.
permissionArn - The ARN of the permission.public void setPermissionVersion(Integer permissionVersion)
The identifier for the version of the permission.
permissionVersion - The identifier for the version of the permission.public Integer getPermissionVersion()
The identifier for the version of the permission.
public GetPermissionRequest withPermissionVersion(Integer permissionVersion)
The identifier for the version of the permission.
permissionVersion - The identifier for the version of the permission.public String toString()
toString in class ObjectObject.toString()public GetPermissionRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2020. All rights reserved.