Interface UpdateTemplateRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateTemplateRequest.Builder,
,UpdateTemplateRequest> PcaConnectorAdRequest.Builder
,SdkBuilder<UpdateTemplateRequest.Builder,
,UpdateTemplateRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateTemplateRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateTemplateRequest.Builder
definition
(Consumer<TemplateDefinition.Builder> definition) Template configuration to define the information included in certificates.definition
(TemplateDefinition definition) Template configuration to define the information included in certificates.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.reenrollAllCertificateHolders
(Boolean reenrollAllCertificateHolders) This setting allows the major version of a template to be increased automatically.templateArn
(String templateArn) The Amazon Resource Name (ARN) that was returned when you called CreateTemplate.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.services.pcaconnectorad.model.PcaConnectorAdRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
definition
Template configuration to define the information included in certificates. Define certificate validity and renewal periods, certificate request handling and enrollment options, key usage extensions, application policies, and cryptography settings.
- Parameters:
definition
- Template configuration to define the information included in certificates. Define certificate validity and renewal periods, certificate request handling and enrollment options, key usage extensions, application policies, and cryptography settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definition
Template configuration to define the information included in certificates. Define certificate validity and renewal periods, certificate request handling and enrollment options, key usage extensions, application policies, and cryptography settings.
This is a convenience method that creates an instance of theTemplateDefinition.Builder
avoiding the need to create one manually viaTemplateDefinition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todefinition(TemplateDefinition)
.- Parameters:
definition
- a consumer that will call methods onTemplateDefinition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
reenrollAllCertificateHolders
This setting allows the major version of a template to be increased automatically. All members of Active Directory groups that are allowed to enroll with a template will receive a new certificate issued using that template.
- Parameters:
reenrollAllCertificateHolders
- This setting allows the major version of a template to be increased automatically. All members of Active Directory groups that are allowed to enroll with a template will receive a new certificate issued using that template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateArn
The Amazon Resource Name (ARN) that was returned when you called CreateTemplate.
- Parameters:
templateArn
- The Amazon Resource Name (ARN) that was returned when you called CreateTemplate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateTemplateRequest.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
UpdateTemplateRequest.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.
-