Interface Template.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<Template.Builder,,- Template> - SdkBuilder<Template.Builder,,- Template> - SdkPojo
- Enclosing class:
- Template
- 
Method SummaryModifier 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 Template.Builderdefinition(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 templates.objectIdentifier(String objectIdentifier) Object identifier of a template.policySchema(Integer policySchema) The template schema version.default Template.Builderrevision(Consumer<TemplateRevision.Builder> revision) The version of the template.revision(TemplateRevision revision) The 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
arnThe 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.
 
- 
connectorArnThe 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.
 
- 
createdAtThe 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.
 
- 
definitionTemplate 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.
 
- 
definitionTemplate 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 on- TemplateDefinition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
nameName of the templates. Template names must be unique. - Parameters:
- name- Name of the templates. Template names must be unique.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
objectIdentifierObject 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.
 
- 
policySchemaThe 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.
 
- 
revisionThe version of the template. Template updates will increment the minor revision. Re-enrolling all certificate holders will increment the major revision. - Parameters:
- revision- The 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.
 
- 
revisionThe 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.Builderavoiding the need to create one manually viaTemplateRevision.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torevision(TemplateRevision).- Parameters:
- revision- a consumer that will call methods on- TemplateRevision.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
statusStatus 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:
 
- 
statusStatus 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:
 
- 
updatedAtThe 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.
 
 
-