@Generated(value="software.amazon.awssdk:codegen") public final class TemplateV2 extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TemplateV2.Builder,TemplateV2>
v2 template schema that uses Legacy Cryptographic Providers.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TemplateV2.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TemplateV2.Builder |
builder() |
CertificateValidity |
certificateValidity()
Certificate validity describes the validity and renewal periods of a certificate.
|
EnrollmentFlagsV2 |
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) |
ExtensionsV2 |
extensions()
Extensions describe the key usage extensions and application policies for a template.
|
GeneralFlagsV2 |
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) |
int |
hashCode() |
boolean |
hasSupersededTemplates()
For responses, this returns true if the service returned a value for the SupersededTemplates property.
|
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.
|
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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TemplateV2.Builder> |
serializableBuilderClass() |
SubjectNameFlagsV2 |
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.
|
TemplateV2.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 EnrollmentFlagsV2 enrollmentFlags()
Enrollment flags describe the enrollment settings for certificates such as using the existing private key and deleting expired or revoked certificates.
public final ExtensionsV2 extensions()
Extensions describe the key usage extensions and application policies for a template.
public final GeneralFlagsV2 generalFlags()
General flags describe whether the template is used for computers or users and if the template can be used with autoenrollment.
public final 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.
public final 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.
public final SubjectNameFlagsV2 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 TemplateV2.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TemplateV2.Builder,TemplateV2>public static TemplateV2.Builder builder()
public static Class<? extends TemplateV2.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.