Interface UpdateTemplateRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateTemplateRequest.Builder,UpdateTemplateRequest>,PcaConnectorAdRequest.Builder,SdkBuilder<UpdateTemplateRequest.Builder,UpdateTemplateRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateTemplateRequest
public static interface UpdateTemplateRequest.Builder extends PcaConnectorAdRequest.Builder, SdkPojo, CopyableBuilder<UpdateTemplateRequest.Builder,UpdateTemplateRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default UpdateTemplateRequest.Builderdefinition(Consumer<TemplateDefinition.Builder> definition)Template configuration to define the information included in certificates.UpdateTemplateRequest.Builderdefinition(TemplateDefinition definition)Template configuration to define the information included in certificates.UpdateTemplateRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateTemplateRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateTemplateRequest.BuilderreenrollAllCertificateHolders(Boolean reenrollAllCertificateHolders)This setting allows the major version of a template to be increased automatically.UpdateTemplateRequest.BuildertemplateArn(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, sdkFields
-
-
-
-
Method Detail
-
definition
UpdateTemplateRequest.Builder definition(TemplateDefinition 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
default UpdateTemplateRequest.Builder definition(Consumer<TemplateDefinition.Builder> 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.Builderavoiding the need to create one manually viaTemplateDefinition.builder().When the
Consumercompletes,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:
definition(TemplateDefinition)
-
reenrollAllCertificateHolders
UpdateTemplateRequest.Builder reenrollAllCertificateHolders(Boolean 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
UpdateTemplateRequest.Builder templateArn(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateTemplateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-