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 Summary
-
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 Detail
-
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
AddProfilePermissionRequest.Builder action(String 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
AddProfilePermissionRequest.Builder principal(String 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
AddProfilePermissionRequest.Builder revisionId(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
AddProfilePermissionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-