@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TemplateV2 extends Object implements Serializable, Cloneable, StructuredPojo
v2 template schema that uses Legacy Cryptographic Providers.
Constructor and Description |
---|
TemplateV2() |
Modifier and Type | Method and Description |
---|---|
TemplateV2 |
clone() |
boolean |
equals(Object obj) |
CertificateValidity |
getCertificateValidity()
Certificate validity describes the validity and renewal periods of a certificate.
|
EnrollmentFlagsV2 |
getEnrollmentFlags()
Enrollment flags describe the enrollment settings for certificates such as using the existing private key and
deleting expired or revoked certificates.
|
ExtensionsV2 |
getExtensions()
Extensions describe the key usage extensions and application policies for a template.
|
GeneralFlagsV2 |
getGeneralFlags()
General flags describe whether the template is used for computers or users and if the template can be used with
autoenrollment.
|
PrivateKeyAttributesV2 |
getPrivateKeyAttributes()
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 |
getPrivateKeyFlags()
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.
|
SubjectNameFlagsV2 |
getSubjectNameFlags()
Subject name flags describe the subject name and subject alternate name that is included in a certificate.
|
List<String> |
getSupersededTemplates()
List of templates in Active Directory that are superseded by this template.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCertificateValidity(CertificateValidity certificateValidity)
Certificate validity describes the validity and renewal periods of a certificate.
|
void |
setEnrollmentFlags(EnrollmentFlagsV2 enrollmentFlags)
Enrollment flags describe the enrollment settings for certificates such as using the existing private key and
deleting expired or revoked certificates.
|
void |
setExtensions(ExtensionsV2 extensions)
Extensions describe the key usage extensions and application policies for a template.
|
void |
setGeneralFlags(GeneralFlagsV2 generalFlags)
General flags describe whether the template is used for computers or users and if the template can be used with
autoenrollment.
|
void |
setPrivateKeyAttributes(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.
|
void |
setPrivateKeyFlags(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.
|
void |
setSubjectNameFlags(SubjectNameFlagsV2 subjectNameFlags)
Subject name flags describe the subject name and subject alternate name that is included in a certificate.
|
void |
setSupersededTemplates(Collection<String> supersededTemplates)
List of templates in Active Directory that are superseded by this template.
|
String |
toString()
Returns a string representation of this object.
|
TemplateV2 |
withCertificateValidity(CertificateValidity certificateValidity)
Certificate validity describes the validity and renewal periods of a certificate.
|
TemplateV2 |
withEnrollmentFlags(EnrollmentFlagsV2 enrollmentFlags)
Enrollment flags describe the enrollment settings for certificates such as using the existing private key and
deleting expired or revoked certificates.
|
TemplateV2 |
withExtensions(ExtensionsV2 extensions)
Extensions describe the key usage extensions and application policies for a template.
|
TemplateV2 |
withGeneralFlags(GeneralFlagsV2 generalFlags)
General flags describe whether the template is used for computers or users and if the template can be used with
autoenrollment.
|
TemplateV2 |
withPrivateKeyAttributes(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.
|
TemplateV2 |
withPrivateKeyFlags(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.
|
TemplateV2 |
withSubjectNameFlags(SubjectNameFlagsV2 subjectNameFlags)
Subject name flags describe the subject name and subject alternate name that is included in a certificate.
|
TemplateV2 |
withSupersededTemplates(Collection<String> supersededTemplates)
List of templates in Active Directory that are superseded by this template.
|
TemplateV2 |
withSupersededTemplates(String... supersededTemplates)
List of templates in Active Directory that are superseded by this template.
|
public void setCertificateValidity(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.public CertificateValidity getCertificateValidity()
Certificate validity describes the validity and renewal periods of a certificate.
public TemplateV2 withCertificateValidity(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.public void setEnrollmentFlags(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.public EnrollmentFlagsV2 getEnrollmentFlags()
Enrollment flags describe the enrollment settings for certificates such as using the existing private key and deleting expired or revoked certificates.
public TemplateV2 withEnrollmentFlags(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.public void setExtensions(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.public ExtensionsV2 getExtensions()
Extensions describe the key usage extensions and application policies for a template.
public TemplateV2 withExtensions(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.public void setGeneralFlags(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.public GeneralFlagsV2 getGeneralFlags()
General flags describe whether the template is used for computers or users and if the template can be used with autoenrollment.
public TemplateV2 withGeneralFlags(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.public void setPrivateKeyAttributes(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.public PrivateKeyAttributesV2 getPrivateKeyAttributes()
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 TemplateV2 withPrivateKeyAttributes(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.public void setPrivateKeyFlags(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.public PrivateKeyFlagsV2 getPrivateKeyFlags()
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 TemplateV2 withPrivateKeyFlags(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.public void setSubjectNameFlags(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.public SubjectNameFlagsV2 getSubjectNameFlags()
Subject name flags describe the subject name and subject alternate name that is included in a certificate.
public TemplateV2 withSubjectNameFlags(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.public List<String> getSupersededTemplates()
List of templates in Active Directory that are superseded by this template.
public void setSupersededTemplates(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.public TemplateV2 withSupersededTemplates(String... supersededTemplates)
List of templates in Active Directory that are superseded by this template.
NOTE: This method appends the values to the existing list (if any). Use
setSupersededTemplates(java.util.Collection)
or withSupersededTemplates(java.util.Collection)
if you want to override the existing values.
supersededTemplates
- List of templates in Active Directory that are superseded by this template.public TemplateV2 withSupersededTemplates(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.public String toString()
toString
in class Object
Object.toString()
public TemplateV2 clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.