Interface CreatePermissionRequest.Builder
-
- All Superinterfaces:
AcmPcaRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<CreatePermissionRequest.Builder,CreatePermissionRequest>,SdkBuilder<CreatePermissionRequest.Builder,CreatePermissionRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreatePermissionRequest
public static interface CreatePermissionRequest.Builder extends AcmPcaRequest.Builder, SdkPojo, CopyableBuilder<CreatePermissionRequest.Builder,CreatePermissionRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreatePermissionRequest.Builderactions(Collection<ActionType> actions)The actions that the specified Amazon Web Services service principal can use.CreatePermissionRequest.Builderactions(ActionType... actions)The actions that the specified Amazon Web Services service principal can use.CreatePermissionRequest.BuilderactionsWithStrings(String... actions)The actions that the specified Amazon Web Services service principal can use.CreatePermissionRequest.BuilderactionsWithStrings(Collection<String> actions)The actions that the specified Amazon Web Services service principal can use.CreatePermissionRequest.BuildercertificateAuthorityArn(String certificateAuthorityArn)The Amazon Resource Name (ARN) of the CA that grants the permissions.CreatePermissionRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreatePermissionRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreatePermissionRequest.Builderprincipal(String principal)The Amazon Web Services service or identity that receives the permission.CreatePermissionRequest.BuildersourceAccount(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
certificateAuthorityArn
CreatePermissionRequest.Builder certificateAuthorityArn(String 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
CreatePermissionRequest.Builder principal(String 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
CreatePermissionRequest.Builder sourceAccount(String 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
CreatePermissionRequest.Builder actionsWithStrings(Collection<String> 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.
-
actionsWithStrings
CreatePermissionRequest.Builder actionsWithStrings(String... 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
CreatePermissionRequest.Builder actions(Collection<ActionType> 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
CreatePermissionRequest.Builder actions(ActionType... 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreatePermissionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-