@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()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getPermissionArn()
The Amazon Resource Name (ARN) of the permission.
|
Integer |
getPermissionVersion()
The identifier for the version of the permission.
|
int |
hashCode() |
void |
setPermissionArn(String permissionArn)
The Amazon Resource Name (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 Amazon Resource Name (ARN) of the permission.
|
GetPermissionRequest |
withPermissionVersion(Integer permissionVersion)
The identifier for the version of the permission.
|
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 setPermissionArn(String permissionArn)
The Amazon Resource Name (ARN) of the permission.
permissionArn
- The Amazon Resource Name (ARN) of the permission.public String getPermissionArn()
The Amazon Resource Name (ARN) of the permission.
public GetPermissionRequest withPermissionArn(String permissionArn)
The Amazon Resource Name (ARN) of the permission.
permissionArn
- The Amazon Resource Name (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 Object
Object.toString()
public GetPermissionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()