public static interface TemplateV2.Builder extends SdkPojo, CopyableBuilder<TemplateV2.Builder,TemplateV2>
| Modifier and Type | Method and Description |
|---|---|
TemplateV2.Builder |
certificateValidity(CertificateValidity certificateValidity)
Certificate validity describes the validity and renewal periods of a certificate.
|
default TemplateV2.Builder |
certificateValidity(Consumer<CertificateValidity.Builder> certificateValidity)
Certificate validity describes the validity and renewal periods of a certificate.
|
default TemplateV2.Builder |
enrollmentFlags(Consumer<EnrollmentFlagsV2.Builder> enrollmentFlags)
Enrollment flags describe the enrollment settings for certificates such as using the existing private key and
deleting expired or revoked certificates.
|
TemplateV2.Builder |
enrollmentFlags(EnrollmentFlagsV2 enrollmentFlags)
Enrollment flags describe the enrollment settings for certificates such as using the existing private key and
deleting expired or revoked certificates.
|
default TemplateV2.Builder |
extensions(Consumer<ExtensionsV2.Builder> extensions)
Extensions describe the key usage extensions and application policies for a template.
|
TemplateV2.Builder |
extensions(ExtensionsV2 extensions)
Extensions describe the key usage extensions and application policies for a template.
|
default TemplateV2.Builder |
generalFlags(Consumer<GeneralFlagsV2.Builder> generalFlags)
General flags describe whether the template is used for computers or users and if the template can be used
with autoenrollment.
|
TemplateV2.Builder |
generalFlags(GeneralFlagsV2 generalFlags)
General flags describe whether the template is used for computers or users and if the template can be used
with autoenrollment.
|
default TemplateV2.Builder |
privateKeyAttributes(Consumer<PrivateKeyAttributesV2.Builder> privateKeyAttributes)
Private key attributes allow you to specify the minimal key length, key spec, and cryptographic providers for
the private key of a certificate for v2 templates.
|
TemplateV2.Builder |
privateKeyAttributes(PrivateKeyAttributesV2 privateKeyAttributes)
Private key attributes allow you to specify the minimal key length, key spec, and cryptographic providers for
the private key of a certificate for v2 templates.
|
default TemplateV2.Builder |
privateKeyFlags(Consumer<PrivateKeyFlagsV2.Builder> privateKeyFlags)
Private key flags for v2 templates specify the client compatibility, if the private key can be exported, and
if user input is required when using a private key.
|
TemplateV2.Builder |
privateKeyFlags(PrivateKeyFlagsV2 privateKeyFlags)
Private key flags for v2 templates specify the client compatibility, if the private key can be exported, and
if user input is required when using a private key.
|
default TemplateV2.Builder |
subjectNameFlags(Consumer<SubjectNameFlagsV2.Builder> subjectNameFlags)
Subject name flags describe the subject name and subject alternate name that is included in a certificate.
|
TemplateV2.Builder |
subjectNameFlags(SubjectNameFlagsV2 subjectNameFlags)
Subject name flags describe the subject name and subject alternate name that is included in a certificate.
|
TemplateV2.Builder |
supersededTemplates(Collection<String> supersededTemplates)
List of templates in Active Directory that are superseded by this template.
|
TemplateV2.Builder |
supersededTemplates(String... supersededTemplates)
List of templates in Active Directory that are superseded by this template.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildTemplateV2.Builder certificateValidity(CertificateValidity certificateValidity)
Certificate validity describes the validity and renewal periods of a certificate.
certificateValidity - Certificate validity describes the validity and renewal periods of a certificate.default TemplateV2.Builder certificateValidity(Consumer<CertificateValidity.Builder> certificateValidity)
Certificate validity describes the validity and renewal periods of a certificate.
This is a convenience method that creates an instance of theCertificateValidity.Builder avoiding the
need to create one manually via CertificateValidity.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to certificateValidity(CertificateValidity).
certificateValidity - a consumer that will call methods on CertificateValidity.BuildercertificateValidity(CertificateValidity)TemplateV2.Builder enrollmentFlags(EnrollmentFlagsV2 enrollmentFlags)
Enrollment flags describe the enrollment settings for certificates such as using the existing private key and deleting expired or revoked certificates.
enrollmentFlags - Enrollment flags describe the enrollment settings for certificates such as using the existing private
key and deleting expired or revoked certificates.default TemplateV2.Builder enrollmentFlags(Consumer<EnrollmentFlagsV2.Builder> enrollmentFlags)
Enrollment flags describe the enrollment settings for certificates such as using the existing private key and deleting expired or revoked certificates.
This is a convenience method that creates an instance of theEnrollmentFlagsV2.Builder avoiding the
need to create one manually via EnrollmentFlagsV2.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to enrollmentFlags(EnrollmentFlagsV2).
enrollmentFlags - a consumer that will call methods on EnrollmentFlagsV2.BuilderenrollmentFlags(EnrollmentFlagsV2)TemplateV2.Builder extensions(ExtensionsV2 extensions)
Extensions describe the key usage extensions and application policies for a template.
extensions - Extensions describe the key usage extensions and application policies for a template.default TemplateV2.Builder extensions(Consumer<ExtensionsV2.Builder> extensions)
Extensions describe the key usage extensions and application policies for a template.
This is a convenience method that creates an instance of theExtensionsV2.Builder avoiding the need
to create one manually via ExtensionsV2.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to extensions(ExtensionsV2).
extensions - a consumer that will call methods on ExtensionsV2.Builderextensions(ExtensionsV2)TemplateV2.Builder generalFlags(GeneralFlagsV2 generalFlags)
General flags describe whether the template is used for computers or users and if the template can be used with autoenrollment.
generalFlags - General flags describe whether the template is used for computers or users and if the template can be
used with autoenrollment.default TemplateV2.Builder generalFlags(Consumer<GeneralFlagsV2.Builder> generalFlags)
General flags describe whether the template is used for computers or users and if the template can be used with autoenrollment.
This is a convenience method that creates an instance of theGeneralFlagsV2.Builder avoiding the need
to create one manually via GeneralFlagsV2.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to generalFlags(GeneralFlagsV2).
generalFlags - a consumer that will call methods on GeneralFlagsV2.BuildergeneralFlags(GeneralFlagsV2)TemplateV2.Builder privateKeyAttributes(PrivateKeyAttributesV2 privateKeyAttributes)
Private key attributes allow you to specify the minimal key length, key spec, and cryptographic providers for the private key of a certificate for v2 templates. V2 templates allow you to use Legacy Cryptographic Service Providers.
privateKeyAttributes - Private key attributes allow you to specify the minimal key length, key spec, and cryptographic
providers for the private key of a certificate for v2 templates. V2 templates allow you to use Legacy
Cryptographic Service Providers.default TemplateV2.Builder privateKeyAttributes(Consumer<PrivateKeyAttributesV2.Builder> privateKeyAttributes)
Private key attributes allow you to specify the minimal key length, key spec, and cryptographic providers for the private key of a certificate for v2 templates. V2 templates allow you to use Legacy Cryptographic Service Providers.
This is a convenience method that creates an instance of thePrivateKeyAttributesV2.Builder avoiding
the need to create one manually via PrivateKeyAttributesV2.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to privateKeyAttributes(PrivateKeyAttributesV2).
privateKeyAttributes - a consumer that will call methods on PrivateKeyAttributesV2.BuilderprivateKeyAttributes(PrivateKeyAttributesV2)TemplateV2.Builder privateKeyFlags(PrivateKeyFlagsV2 privateKeyFlags)
Private key flags for v2 templates specify the client compatibility, if the private key can be exported, and if user input is required when using a private key.
privateKeyFlags - Private key flags for v2 templates specify the client compatibility, if the private key can be
exported, and if user input is required when using a private key.default TemplateV2.Builder privateKeyFlags(Consumer<PrivateKeyFlagsV2.Builder> privateKeyFlags)
Private key flags for v2 templates specify the client compatibility, if the private key can be exported, and if user input is required when using a private key.
This is a convenience method that creates an instance of thePrivateKeyFlagsV2.Builder avoiding the
need to create one manually via PrivateKeyFlagsV2.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to privateKeyFlags(PrivateKeyFlagsV2).
privateKeyFlags - a consumer that will call methods on PrivateKeyFlagsV2.BuilderprivateKeyFlags(PrivateKeyFlagsV2)TemplateV2.Builder subjectNameFlags(SubjectNameFlagsV2 subjectNameFlags)
Subject name flags describe the subject name and subject alternate name that is included in a certificate.
subjectNameFlags - Subject name flags describe the subject name and subject alternate name that is included in a
certificate.default TemplateV2.Builder subjectNameFlags(Consumer<SubjectNameFlagsV2.Builder> subjectNameFlags)
Subject name flags describe the subject name and subject alternate name that is included in a certificate.
This is a convenience method that creates an instance of theSubjectNameFlagsV2.Builder avoiding the
need to create one manually via SubjectNameFlagsV2.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to subjectNameFlags(SubjectNameFlagsV2).
subjectNameFlags - a consumer that will call methods on SubjectNameFlagsV2.BuildersubjectNameFlags(SubjectNameFlagsV2)TemplateV2.Builder supersededTemplates(Collection<String> supersededTemplates)
List of templates in Active Directory that are superseded by this template.
supersededTemplates - List of templates in Active Directory that are superseded by this template.TemplateV2.Builder supersededTemplates(String... supersededTemplates)
List of templates in Active Directory that are superseded by this template.
supersededTemplates - List of templates in Active Directory that are superseded by this template.Copyright © 2023. All rights reserved.