@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()
Specifies the Amazon
Resource Name (ARN) of the permission whose contents you want to retrieve.
|
Integer |
getPermissionVersion()
Specifies the version number of the RAM permission to retrieve.
|
int |
hashCode() |
void |
setPermissionArn(String permissionArn)
Specifies the Amazon
Resource Name (ARN) of the permission whose contents you want to retrieve.
|
void |
setPermissionVersion(Integer permissionVersion)
Specifies the version number of the RAM permission to retrieve.
|
String |
toString()
Returns a string representation of this object.
|
GetPermissionRequest |
withPermissionArn(String permissionArn)
Specifies the Amazon
Resource Name (ARN) of the permission whose contents you want to retrieve.
|
GetPermissionRequest |
withPermissionVersion(Integer permissionVersion)
Specifies the version number of the RAM permission to retrieve.
|
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 setPermissionArn(String permissionArn)
Specifies the Amazon Resource Name (ARN) of the permission whose contents you want to retrieve. To find the ARN for a permission, use either the ListPermissions operation or go to the Permissions library page in the RAM console and then choose the name of the permission. The ARN is displayed on the detail page.
permissionArn - Specifies the Amazon
Resource Name (ARN) of the permission whose contents you want to retrieve. To find the ARN for a
permission, use either the ListPermissions operation or go to the Permissions library page in the RAM
console and then choose the name of the permission. The ARN is displayed on the detail page.public String getPermissionArn()
Specifies the Amazon Resource Name (ARN) of the permission whose contents you want to retrieve. To find the ARN for a permission, use either the ListPermissions operation or go to the Permissions library page in the RAM console and then choose the name of the permission. The ARN is displayed on the detail page.
public GetPermissionRequest withPermissionArn(String permissionArn)
Specifies the Amazon Resource Name (ARN) of the permission whose contents you want to retrieve. To find the ARN for a permission, use either the ListPermissions operation or go to the Permissions library page in the RAM console and then choose the name of the permission. The ARN is displayed on the detail page.
permissionArn - Specifies the Amazon
Resource Name (ARN) of the permission whose contents you want to retrieve. To find the ARN for a
permission, use either the ListPermissions operation or go to the Permissions library page in the RAM
console and then choose the name of the permission. The ARN is displayed on the detail page.public void setPermissionVersion(Integer permissionVersion)
Specifies the version number of the RAM permission to retrieve. If you don't specify this parameter, the operation retrieves the default version.
To see the list of available versions, use ListPermissionVersions.
permissionVersion - Specifies the version number of the RAM permission to retrieve. If you don't specify this parameter, the
operation retrieves the default version.
To see the list of available versions, use ListPermissionVersions.
public Integer getPermissionVersion()
Specifies the version number of the RAM permission to retrieve. If you don't specify this parameter, the operation retrieves the default version.
To see the list of available versions, use ListPermissionVersions.
To see the list of available versions, use ListPermissionVersions.
public GetPermissionRequest withPermissionVersion(Integer permissionVersion)
Specifies the version number of the RAM permission to retrieve. If you don't specify this parameter, the operation retrieves the default version.
To see the list of available versions, use ListPermissionVersions.
permissionVersion - Specifies the version number of the RAM permission to retrieve. If you don't specify this parameter, the
operation retrieves the default version.
To see the list of available versions, use ListPermissionVersions.
public String toString()
toString in class ObjectObject.toString()public GetPermissionRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()