Interface GetPermissionRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetPermissionRequest.Builder,GetPermissionRequest>,RamRequest.Builder,SdkBuilder<GetPermissionRequest.Builder,GetPermissionRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- GetPermissionRequest
public static interface GetPermissionRequest.Builder extends RamRequest.Builder, SdkPojo, CopyableBuilder<GetPermissionRequest.Builder,GetPermissionRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetPermissionRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)GetPermissionRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)GetPermissionRequest.BuilderpermissionArn(String permissionArn)Specifies the Amazon Resource Name (ARN) of the permission whose contents you want to retrieve.GetPermissionRequest.BuilderpermissionVersion(Integer permissionVersion)Specifies the version number of the RAM permission to retrieve.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ram.model.RamRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
permissionArn
GetPermissionRequest.Builder permissionArn(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissionVersion
GetPermissionRequest.Builder permissionVersion(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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetPermissionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
GetPermissionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-