@Generated(value="software.amazon.awssdk:codegen") public final class TemplateV3 extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TemplateV3.Builder,TemplateV3>
v3 template schema that uses Key Storage Providers.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TemplateV3.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TemplateV3.Builder |
builder() |
CertificateValidity |
certificateValidity()
Certificate validity describes the validity and renewal periods of a certificate.
|
EnrollmentFlagsV3 |
enrollmentFlags()
Enrollment flags describe the enrollment settings for certificates such as using the existing private key and
deleting expired or revoked certificates.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
ExtensionsV3 |
extensions()
Extensions describe the key usage extensions and application policies for a template.
|
GeneralFlagsV3 |
generalFlags()
General flags describe whether the template is used for computers or users and if the template can be used with
autoenrollment.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
HashAlgorithm |
hashAlgorithm()
Specifies the hash algorithm used to hash the private key.
|
String |
hashAlgorithmAsString()
Specifies the hash algorithm used to hash the private key.
|
int |
hashCode() |
boolean |
hasSupersededTemplates()
For responses, this returns true if the service returned a value for the SupersededTemplates property.
|
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.
|
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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TemplateV3.Builder> |
serializableBuilderClass() |
SubjectNameFlagsV3 |
subjectNameFlags()
Subject name flags describe the subject name and subject alternate name that is included in a certificate.
|
List<String> |
supersededTemplates()
List of templates in Active Directory that are superseded by this template.
|
TemplateV3.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final CertificateValidity certificateValidity()
Certificate validity describes the validity and renewal periods of a certificate.
public final EnrollmentFlagsV3 enrollmentFlags()
Enrollment flags describe the enrollment settings for certificates such as using the existing private key and deleting expired or revoked certificates.
public final ExtensionsV3 extensions()
Extensions describe the key usage extensions and application policies for a template.
public final GeneralFlagsV3 generalFlags()
General flags describe whether the template is used for computers or users and if the template can be used with autoenrollment.
public final HashAlgorithm hashAlgorithm()
Specifies the hash algorithm used to hash the private key.
If the service returns an enum value that is not available in the current SDK version, hashAlgorithm
will return HashAlgorithm.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
hashAlgorithmAsString().
HashAlgorithmpublic final String hashAlgorithmAsString()
Specifies the hash algorithm used to hash the private key.
If the service returns an enum value that is not available in the current SDK version, hashAlgorithm
will return HashAlgorithm.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
hashAlgorithmAsString().
HashAlgorithmpublic final 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.
public final 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.
public final SubjectNameFlagsV3 subjectNameFlags()
Subject name flags describe the subject name and subject alternate name that is included in a certificate.
public final boolean hasSupersededTemplates()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> supersededTemplates()
List of templates in Active Directory that are superseded by this template.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSupersededTemplates() method.
public TemplateV3.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TemplateV3.Builder,TemplateV3>public static TemplateV3.Builder builder()
public static Class<? extends TemplateV3.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.