Interface PutSigningProfileRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<PutSigningProfileRequest.Builder,
,PutSigningProfileRequest> SdkBuilder<PutSigningProfileRequest.Builder,
,PutSigningProfileRequest> SdkPojo
,SdkRequest.Builder
,SignerRequest.Builder
- Enclosing class:
PutSigningProfileRequest
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default PutSigningProfileRequest.Builder
overrides
(Consumer<SigningPlatformOverrides.Builder> overrides) A subfield ofplatform
.overrides
(SigningPlatformOverrides overrides) A subfield ofplatform
.platformId
(String platformId) The ID of the signing platform to be created.profileName
(String profileName) The name of the signing profile to be created.default PutSigningProfileRequest.Builder
signatureValidityPeriod
(Consumer<SignatureValidityPeriod.Builder> signatureValidityPeriod) The default validity period override for any signature generated using this signing profile.signatureValidityPeriod
(SignatureValidityPeriod signatureValidityPeriod) The default validity period override for any signature generated using this signing profile.default PutSigningProfileRequest.Builder
signingMaterial
(Consumer<SigningMaterial.Builder> signingMaterial) The AWS Certificate Manager certificate that will be used to sign code with the new signing profile.signingMaterial
(SigningMaterial signingMaterial) The AWS Certificate Manager certificate that will be used to sign code with the new signing profile.signingParameters
(Map<String, String> signingParameters) Map of key-value pairs for signing.Tags to be associated with the signing profile that is being created.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 name of the signing profile to be created.
- Parameters:
profileName
- The name of the signing profile to be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
signingMaterial
The AWS Certificate Manager certificate that will be used to sign code with the new signing profile.
- Parameters:
signingMaterial
- The AWS Certificate Manager certificate that will be used to sign code with the new signing profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
signingMaterial
default PutSigningProfileRequest.Builder signingMaterial(Consumer<SigningMaterial.Builder> signingMaterial) The AWS Certificate Manager certificate that will be used to sign code with the new signing profile.
This is a convenience method that creates an instance of theSigningMaterial.Builder
avoiding the need to create one manually viaSigningMaterial.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosigningMaterial(SigningMaterial)
.- Parameters:
signingMaterial
- a consumer that will call methods onSigningMaterial.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
signatureValidityPeriod
PutSigningProfileRequest.Builder signatureValidityPeriod(SignatureValidityPeriod signatureValidityPeriod) The default validity period override for any signature generated using this signing profile. If unspecified, the default is 135 months.
- Parameters:
signatureValidityPeriod
- The default validity period override for any signature generated using this signing profile. If unspecified, the default is 135 months.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
signatureValidityPeriod
default PutSigningProfileRequest.Builder signatureValidityPeriod(Consumer<SignatureValidityPeriod.Builder> signatureValidityPeriod) The default validity period override for any signature generated using this signing profile. If unspecified, the default is 135 months.
This is a convenience method that creates an instance of theSignatureValidityPeriod.Builder
avoiding the need to create one manually viaSignatureValidityPeriod.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosignatureValidityPeriod(SignatureValidityPeriod)
.- Parameters:
signatureValidityPeriod
- a consumer that will call methods onSignatureValidityPeriod.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
platformId
The ID of the signing platform to be created.
- Parameters:
platformId
- The ID of the signing platform to be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrides
A subfield of
platform
. This specifies any different configuration options that you want to apply to the chosen platform (such as a differenthash-algorithm
orsigning-algorithm
).- Parameters:
overrides
- A subfield ofplatform
. This specifies any different configuration options that you want to apply to the chosen platform (such as a differenthash-algorithm
orsigning-algorithm
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrides
default PutSigningProfileRequest.Builder overrides(Consumer<SigningPlatformOverrides.Builder> overrides) A subfield of
This is a convenience method that creates an instance of theplatform
. This specifies any different configuration options that you want to apply to the chosen platform (such as a differenthash-algorithm
orsigning-algorithm
).SigningPlatformOverrides.Builder
avoiding the need to create one manually viaSigningPlatformOverrides.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooverrides(SigningPlatformOverrides)
.- Parameters:
overrides
- a consumer that will call methods onSigningPlatformOverrides.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
signingParameters
Map of key-value pairs for signing. These can include any information that you want to use during signing.
- Parameters:
signingParameters
- Map of key-value pairs for signing. These can include any information that you want to use during signing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags to be associated with the signing profile that is being created.
- Parameters:
tags
- Tags to be associated with the signing profile that is being created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
PutSigningProfileRequest.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
PutSigningProfileRequest.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.
-