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
Modifier and TypeMethodDescriptionoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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, 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) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetPermissionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-