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
buildMethods 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.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-