Interface AddProfilePermissionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<AddProfilePermissionRequest.Builder,
,AddProfilePermissionRequest> SdkBuilder<AddProfilePermissionRequest.Builder,
,AddProfilePermissionRequest> SdkPojo
,SdkRequest.Builder
,SignerRequest.Builder
- Enclosing class:
AddProfilePermissionRequest
-
Method Summary
Modifier and TypeMethodDescriptionFor cross-account signing.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The AWS principal receiving cross-account permissions.profileName
(String profileName) The human-readable name of the signing profile.profileVersion
(String profileVersion) The version of the signing profile.revisionId
(String revisionId) A unique identifier for the current profile revision.statementId
(String statementId) A unique identifier for the cross-account permission statement.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, sdkFields
Methods inherited from interface software.amazon.awssdk.services.signer.model.SignerRequest.Builder
build
-
Method Details
-
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
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
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 interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
AddProfilePermissionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-