Interface CreatePermissionRequest.Builder

    • 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 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

        CreatePermissionRequest.Builder actions​(Collection<ActionType> 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

        CreatePermissionRequest.Builder actions​(ActionType... 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.