Interface GetPermissionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetPermissionRequest.Builder,,GetPermissionRequest> RamRequest.Builder,SdkBuilder<GetPermissionRequest.Builder,,GetPermissionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
- GetPermissionRequest
@Mutable
@NotThreadSafe
public static interface GetPermissionRequest.Builder
extends RamRequest.Builder, SdkPojo, CopyableBuilder<GetPermissionRequest.Builder,GetPermissionRequest>
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) permissionArn(String permissionArn) Specifies the Amazon Resource Name (ARN) of the permission whose contents you want to retrieve.permissionVersion(Integer permissionVersion) Specifies the version number of the RAM permission to retrieve.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ram.model.RamRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
-