Interface CreateTemplateRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateTemplateRequest.Builder,
,CreateTemplateRequest> PcaConnectorAdRequest.Builder
,SdkBuilder<CreateTemplateRequest.Builder,
,CreateTemplateRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateTemplateRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) Idempotency token.connectorArn
(String connectorArn) The Amazon Resource Name (ARN) that was returned when you called CreateConnector.default CreateTemplateRequest.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.Name of the template.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Metadata assigned to a template consisting of a key-value pair.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 Details
-
clientToken
Idempotency token.
- Parameters:
clientToken
- Idempotency token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectorArn
The Amazon Resource Name (ARN) that was returned when you called CreateConnector.
- Parameters:
connectorArn
- The Amazon Resource Name (ARN) that was returned when you called CreateConnector.- 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.
- 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:
-
name
Name of the template. The template name must be unique.
- Parameters:
name
- Name of the template. The template name must be unique.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Metadata assigned to a template consisting of a key-value pair.
- Parameters:
tags
- Metadata assigned to a template consisting of a key-value pair.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateTemplateRequest.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
CreateTemplateRequest.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.
-