Interface AddProfilePermissionRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<AddProfilePermissionRequest.Builder,AddProfilePermissionRequest>, SdkBuilder<AddProfilePermissionRequest.Builder,AddProfilePermissionRequest>, SdkPojo, SdkRequest.Builder, SignerRequest.Builder
Enclosing class:
AddProfilePermissionRequest

public static interface AddProfilePermissionRequest.Builder extends SignerRequest.Builder, SdkPojo, CopyableBuilder<AddProfilePermissionRequest.Builder,AddProfilePermissionRequest>
  • Method Details

    • profileName

      AddProfilePermissionRequest.Builder profileName(String profileName)

      The human-readable name of the signing profile.

      Parameters:
      profileName - The human-readable name of the signing profile.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • profileVersion

      AddProfilePermissionRequest.Builder profileVersion(String profileVersion)

      The version of the signing profile.

      Parameters:
      profileVersion - The version of the signing profile.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • action

      For cross-account signing. Grant a designated account permission to perform one or more of the following actions. Each action is associated with a specific API's operations. For more information about cross-account signing, see Using cross-account signing with signing profiles in the AWS Signer Developer Guide.

      You can designate the following actions to an account.

      • signer:StartSigningJob. This action isn't supported for container image workflows. For details, see StartSigningJob.

      • signer:SignPayload. This action isn't supported for AWS Lambda workflows. For details, see SignPayload

      • signer:GetSigningProfile. For details, see GetSigningProfile.

      • signer:RevokeSignature. For details, see RevokeSignature.

      Parameters:
      action - For cross-account signing. Grant a designated account permission to perform one or more of the following actions. Each action is associated with a specific API's operations. For more information about cross-account signing, see Using cross-account signing with signing profiles in the AWS Signer Developer Guide.

      You can designate the following actions to an account.

      • signer:StartSigningJob. This action isn't supported for container image workflows. For details, see StartSigningJob.

      • signer:SignPayload. This action isn't supported for AWS Lambda workflows. For details, see SignPayload

      • signer:GetSigningProfile. For details, see GetSigningProfile.

      • signer:RevokeSignature. For details, see RevokeSignature.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • principal

      The AWS principal receiving cross-account permissions. This may be an IAM role or another AWS account ID.

      Parameters:
      principal - The AWS principal receiving cross-account permissions. This may be an IAM role or another AWS account ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • revisionId

      A unique identifier for the current profile revision.

      Parameters:
      revisionId - A unique identifier for the current profile revision.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statementId

      AddProfilePermissionRequest.Builder statementId(String statementId)

      A unique identifier for the cross-account permission statement.

      Parameters:
      statementId - A unique identifier for the cross-account permission statement.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      AddProfilePermissionRequest.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.