Interface CreatePermissionRequest.Builder
- All Superinterfaces:
AcmPcaRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<CreatePermissionRequest.Builder,
,CreatePermissionRequest> SdkBuilder<CreatePermissionRequest.Builder,
,CreatePermissionRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreatePermissionRequest
-
Method Summary
Modifier and TypeMethodDescriptionactions
(Collection<ActionType> actions) The actions that the specified Amazon Web Services service principal can use.actions
(ActionType... actions) The actions that the specified Amazon Web Services service principal can use.actionsWithStrings
(String... actions) The actions that the specified Amazon Web Services service principal can use.actionsWithStrings
(Collection<String> actions) The actions that the specified Amazon Web Services service principal can use.certificateAuthorityArn
(String certificateAuthorityArn) The Amazon Resource Name (ARN) of the CA that grants the permissions.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The Amazon Web Services service or identity that receives the permission.sourceAccount
(String sourceAccount) The ID of the calling account.Methods inherited from interface software.amazon.awssdk.services.acmpca.model.AcmPcaRequest.Builder
build
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.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
certificateAuthorityArn
The Amazon Resource Name (ARN) of the CA that grants the permissions. You can find the ARN by calling the ListCertificateAuthorities action. This must have the following form:
arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012
.- Parameters:
certificateAuthorityArn
- The Amazon Resource Name (ARN) of the CA that grants the permissions. You can find the ARN by calling the ListCertificateAuthorities action. This must have the following form:arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principal
The Amazon Web Services service or identity that receives the permission. At this time, the only valid principal is
acm.amazonaws.com
.- Parameters:
principal
- The Amazon Web Services service or identity that receives the permission. At this time, the only valid principal isacm.amazonaws.com
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceAccount
The ID of the calling account.
- Parameters:
sourceAccount
- The ID of the calling account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionsWithStrings
The actions that the specified Amazon Web Services service principal can use. These include
IssueCertificate
,GetCertificate
, andListPermissions
.- Parameters:
actions
- The actions that the specified Amazon Web Services service principal can use. These includeIssueCertificate
,GetCertificate
, andListPermissions
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionsWithStrings
The actions that the specified Amazon Web Services service principal can use. These include
IssueCertificate
,GetCertificate
, andListPermissions
.- Parameters:
actions
- The actions that the specified Amazon Web Services service principal can use. These includeIssueCertificate
,GetCertificate
, andListPermissions
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
The actions that the specified Amazon Web Services service principal can use. These include
IssueCertificate
,GetCertificate
, andListPermissions
.- Parameters:
actions
- The actions that the specified Amazon Web Services service principal can use. These includeIssueCertificate
,GetCertificate
, andListPermissions
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
The actions that the specified Amazon Web Services service principal can use. These include
IssueCertificate
,GetCertificate
, andListPermissions
.- Parameters:
actions
- The actions that the specified Amazon Web Services service principal can use. These includeIssueCertificate
,GetCertificate
, andListPermissions
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreatePermissionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreatePermissionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-