Interface TemplateSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TemplateSummary.Builder,
,TemplateSummary> SdkBuilder<TemplateSummary.Builder,
,TemplateSummary> SdkPojo
- Enclosing class:
TemplateSummary
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) that was returned when you called CreateTemplate.connectorArn
(String connectorArn) The Amazon Resource Name (ARN) that was returned when you called CreateConnector.The date and time that the template was created.default TemplateSummary.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.objectIdentifier
(String objectIdentifier) Object identifier of a template.policySchema
(Integer policySchema) The template schema version.default TemplateSummary.Builder
revision
(Consumer<TemplateRevision.Builder> revision) The revision version of the template.revision
(TemplateRevision revision) The revision version of the template.Status of the template.status
(TemplateStatus status) Status of the template.The date and time that the template was updated.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
-
Method Details
-
arn
The Amazon Resource Name (ARN) that was returned when you called CreateTemplate.
- Parameters:
arn
- 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.
-
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.
-
createdAt
The date and time that the template was created.
- Parameters:
createdAt
- The date and time that the template was created.- 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.
-
objectIdentifier
Object identifier of a template.
- Parameters:
objectIdentifier
- Object identifier of a template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policySchema
The template schema version. Template schema versions can be v2, v3, or v4. The template configuration options change based on the template schema version.
- Parameters:
policySchema
- The template schema version. Template schema versions can be v2, v3, or v4. The template configuration options change based on the template schema version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revision
The revision version of the template. Template updates will increment the minor revision. Re-enrolling all certificate holders will increment the major revision.
- Parameters:
revision
- The revision version of the template. Template updates will increment the minor revision. Re-enrolling all certificate holders will increment the major revision.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revision
The revision version of the template. Template updates will increment the minor revision. Re-enrolling all certificate holders will increment the major revision.
This is a convenience method that creates an instance of theTemplateRevision.Builder
avoiding the need to create one manually viaTemplateRevision.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torevision(TemplateRevision)
.- Parameters:
revision
- a consumer that will call methods onTemplateRevision.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
Status of the template. Status can be creating, active, deleting, or failed.
- Parameters:
status
- Status of the template. Status can be creating, active, deleting, or failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
Status of the template. Status can be creating, active, deleting, or failed.
- Parameters:
status
- Status of the template. Status can be creating, active, deleting, or failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
updatedAt
The date and time that the template was updated.
- Parameters:
updatedAt
- The date and time that the template was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-