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 Details

    • 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

      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 is acm.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, and ListPermissions.

      Parameters:
      actions - The actions that the specified Amazon Web Services service principal can use. These include IssueCertificate, GetCertificate, and ListPermissions.
      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, and ListPermissions.

      Parameters:
      actions - The actions that the specified Amazon Web Services service principal can use. These include IssueCertificate, GetCertificate, and ListPermissions.
      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, and ListPermissions.

      Parameters:
      actions - The actions that the specified Amazon Web Services service principal can use. These include IssueCertificate, GetCertificate, and ListPermissions.
      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, and ListPermissions.

      Parameters:
      actions - The actions that the specified Amazon Web Services service principal can use. These include IssueCertificate, GetCertificate, and ListPermissions.
      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 interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.