Interface TemplateV3.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TemplateV3.Builder,TemplateV3>,SdkBuilder<TemplateV3.Builder,TemplateV3>,SdkPojo
- Enclosing class:
- TemplateV3
public static interface TemplateV3.Builder extends SdkPojo, CopyableBuilder<TemplateV3.Builder,TemplateV3>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default TemplateV3.BuildercertificateValidity(Consumer<CertificateValidity.Builder> certificateValidity)Certificate validity describes the validity and renewal periods of a certificate.TemplateV3.BuildercertificateValidity(CertificateValidity certificateValidity)Certificate validity describes the validity and renewal periods of a certificate.default TemplateV3.BuilderenrollmentFlags(Consumer<EnrollmentFlagsV3.Builder> enrollmentFlags)Enrollment flags describe the enrollment settings for certificates such as using the existing private key and deleting expired or revoked certificates.TemplateV3.BuilderenrollmentFlags(EnrollmentFlagsV3 enrollmentFlags)Enrollment flags describe the enrollment settings for certificates such as using the existing private key and deleting expired or revoked certificates.default TemplateV3.Builderextensions(Consumer<ExtensionsV3.Builder> extensions)Extensions describe the key usage extensions and application policies for a template.TemplateV3.Builderextensions(ExtensionsV3 extensions)Extensions describe the key usage extensions and application policies for a template.default TemplateV3.BuildergeneralFlags(Consumer<GeneralFlagsV3.Builder> generalFlags)General flags describe whether the template is used for computers or users and if the template can be used with autoenrollment.TemplateV3.BuildergeneralFlags(GeneralFlagsV3 generalFlags)General flags describe whether the template is used for computers or users and if the template can be used with autoenrollment.TemplateV3.BuilderhashAlgorithm(String hashAlgorithm)Specifies the hash algorithm used to hash the private key.TemplateV3.BuilderhashAlgorithm(HashAlgorithm hashAlgorithm)Specifies the hash algorithm used to hash the private key.default TemplateV3.BuilderprivateKeyAttributes(Consumer<PrivateKeyAttributesV3.Builder> privateKeyAttributes)Private key attributes allow you to specify the algorithm, minimal key length, key spec, key usage, and cryptographic providers for the private key of a certificate for v3 templates.TemplateV3.BuilderprivateKeyAttributes(PrivateKeyAttributesV3 privateKeyAttributes)Private key attributes allow you to specify the algorithm, minimal key length, key spec, key usage, and cryptographic providers for the private key of a certificate for v3 templates.default TemplateV3.BuilderprivateKeyFlags(Consumer<PrivateKeyFlagsV3.Builder> privateKeyFlags)Private key flags for v3 templates specify the client compatibility, if the private key can be exported, if user input is required when using a private key, and if an alternate signature algorithm should be used.TemplateV3.BuilderprivateKeyFlags(PrivateKeyFlagsV3 privateKeyFlags)Private key flags for v3 templates specify the client compatibility, if the private key can be exported, if user input is required when using a private key, and if an alternate signature algorithm should be used.default TemplateV3.BuildersubjectNameFlags(Consumer<SubjectNameFlagsV3.Builder> subjectNameFlags)Subject name flags describe the subject name and subject alternate name that is included in a certificate.TemplateV3.BuildersubjectNameFlags(SubjectNameFlagsV3 subjectNameFlags)Subject name flags describe the subject name and subject alternate name that is included in a certificate.TemplateV3.BuildersupersededTemplates(String... supersededTemplates)List of templates in Active Directory that are superseded by this template.TemplateV3.BuildersupersededTemplates(Collection<String> supersededTemplates)List of templates in Active Directory that are superseded by this template.-
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 Detail
-
certificateValidity
TemplateV3.Builder certificateValidity(CertificateValidity certificateValidity)
Certificate validity describes the validity and renewal periods of a certificate.
- Parameters:
certificateValidity- Certificate validity describes the validity and renewal periods of a certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificateValidity
default TemplateV3.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.Builderavoiding the need to create one manually viaCertificateValidity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocertificateValidity(CertificateValidity).- Parameters:
certificateValidity- a consumer that will call methods onCertificateValidity.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
certificateValidity(CertificateValidity)
-
enrollmentFlags
TemplateV3.Builder enrollmentFlags(EnrollmentFlagsV3 enrollmentFlags)
Enrollment flags describe the enrollment settings for certificates such as using the existing private key and deleting expired or revoked certificates.
- Parameters:
enrollmentFlags- Enrollment flags describe the enrollment settings for certificates such as using the existing private key and deleting expired or revoked certificates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enrollmentFlags
default TemplateV3.Builder enrollmentFlags(Consumer<EnrollmentFlagsV3.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 theEnrollmentFlagsV3.Builderavoiding the need to create one manually viaEnrollmentFlagsV3.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toenrollmentFlags(EnrollmentFlagsV3).- Parameters:
enrollmentFlags- a consumer that will call methods onEnrollmentFlagsV3.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
enrollmentFlags(EnrollmentFlagsV3)
-
extensions
TemplateV3.Builder extensions(ExtensionsV3 extensions)
Extensions describe the key usage extensions and application policies for a template.
- Parameters:
extensions- Extensions describe the key usage extensions and application policies for a template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
extensions
default TemplateV3.Builder extensions(Consumer<ExtensionsV3.Builder> extensions)
Extensions describe the key usage extensions and application policies for a template.
This is a convenience method that creates an instance of theExtensionsV3.Builderavoiding the need to create one manually viaExtensionsV3.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toextensions(ExtensionsV3).- Parameters:
extensions- a consumer that will call methods onExtensionsV3.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
extensions(ExtensionsV3)
-
generalFlags
TemplateV3.Builder generalFlags(GeneralFlagsV3 generalFlags)
General flags describe whether the template is used for computers or users and if the template can be used with autoenrollment.
- Parameters:
generalFlags- General flags describe whether the template is used for computers or users and if the template can be used with autoenrollment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
generalFlags
default TemplateV3.Builder generalFlags(Consumer<GeneralFlagsV3.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 theGeneralFlagsV3.Builderavoiding the need to create one manually viaGeneralFlagsV3.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togeneralFlags(GeneralFlagsV3).- Parameters:
generalFlags- a consumer that will call methods onGeneralFlagsV3.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
generalFlags(GeneralFlagsV3)
-
hashAlgorithm
TemplateV3.Builder hashAlgorithm(String hashAlgorithm)
Specifies the hash algorithm used to hash the private key.
- Parameters:
hashAlgorithm- Specifies the hash algorithm used to hash the private key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
HashAlgorithm,HashAlgorithm
-
hashAlgorithm
TemplateV3.Builder hashAlgorithm(HashAlgorithm hashAlgorithm)
Specifies the hash algorithm used to hash the private key.
- Parameters:
hashAlgorithm- Specifies the hash algorithm used to hash the private key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
HashAlgorithm,HashAlgorithm
-
privateKeyAttributes
TemplateV3.Builder privateKeyAttributes(PrivateKeyAttributesV3 privateKeyAttributes)
Private key attributes allow you to specify the algorithm, minimal key length, key spec, key usage, and cryptographic providers for the private key of a certificate for v3 templates. V3 templates allow you to use Key Storage Providers.
- Parameters:
privateKeyAttributes- Private key attributes allow you to specify the algorithm, minimal key length, key spec, key usage, and cryptographic providers for the private key of a certificate for v3 templates. V3 templates allow you to use Key Storage Providers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
privateKeyAttributes
default TemplateV3.Builder privateKeyAttributes(Consumer<PrivateKeyAttributesV3.Builder> privateKeyAttributes)
Private key attributes allow you to specify the algorithm, minimal key length, key spec, key usage, and cryptographic providers for the private key of a certificate for v3 templates. V3 templates allow you to use Key Storage Providers.
This is a convenience method that creates an instance of thePrivateKeyAttributesV3.Builderavoiding the need to create one manually viaPrivateKeyAttributesV3.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprivateKeyAttributes(PrivateKeyAttributesV3).- Parameters:
privateKeyAttributes- a consumer that will call methods onPrivateKeyAttributesV3.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
privateKeyAttributes(PrivateKeyAttributesV3)
-
privateKeyFlags
TemplateV3.Builder privateKeyFlags(PrivateKeyFlagsV3 privateKeyFlags)
Private key flags for v3 templates specify the client compatibility, if the private key can be exported, if user input is required when using a private key, and if an alternate signature algorithm should be used.
- Parameters:
privateKeyFlags- Private key flags for v3 templates specify the client compatibility, if the private key can be exported, if user input is required when using a private key, and if an alternate signature algorithm should be used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
privateKeyFlags
default TemplateV3.Builder privateKeyFlags(Consumer<PrivateKeyFlagsV3.Builder> privateKeyFlags)
Private key flags for v3 templates specify the client compatibility, if the private key can be exported, if user input is required when using a private key, and if an alternate signature algorithm should be used.
This is a convenience method that creates an instance of thePrivateKeyFlagsV3.Builderavoiding the need to create one manually viaPrivateKeyFlagsV3.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprivateKeyFlags(PrivateKeyFlagsV3).- Parameters:
privateKeyFlags- a consumer that will call methods onPrivateKeyFlagsV3.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
privateKeyFlags(PrivateKeyFlagsV3)
-
subjectNameFlags
TemplateV3.Builder subjectNameFlags(SubjectNameFlagsV3 subjectNameFlags)
Subject name flags describe the subject name and subject alternate name that is included in a certificate.
- Parameters:
subjectNameFlags- Subject name flags describe the subject name and subject alternate name that is included in a certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subjectNameFlags
default TemplateV3.Builder subjectNameFlags(Consumer<SubjectNameFlagsV3.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 theSubjectNameFlagsV3.Builderavoiding the need to create one manually viaSubjectNameFlagsV3.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosubjectNameFlags(SubjectNameFlagsV3).- Parameters:
subjectNameFlags- a consumer that will call methods onSubjectNameFlagsV3.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
subjectNameFlags(SubjectNameFlagsV3)
-
supersededTemplates
TemplateV3.Builder supersededTemplates(Collection<String> supersededTemplates)
List of templates in Active Directory that are superseded by this template.
- Parameters:
supersededTemplates- List of templates in Active Directory that are superseded by this template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supersededTemplates
TemplateV3.Builder supersededTemplates(String... supersededTemplates)
List of templates in Active Directory that are superseded by this template.
- Parameters:
supersededTemplates- List of templates in Active Directory that are superseded by this template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-