@Generated(value="software.amazon.awssdk:codegen") public final class TemplateDefinition extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TemplateDefinition.Builder,TemplateDefinition>
Template configuration to define the information included in certificates. Define certificate validity and renewal periods, certificate request handling and enrollment options, key usage extensions, application policies, and cryptography settings.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TemplateDefinition.Builder |
static class |
TemplateDefinition.Type |
| Modifier and Type | Method and Description |
|---|---|
static TemplateDefinition.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
static TemplateDefinition |
fromTemplateV2(Consumer<TemplateV2.Builder> templateV2)
Create an instance of this class with
templateV2() initialized to the given value. |
static TemplateDefinition |
fromTemplateV2(TemplateV2 templateV2)
Create an instance of this class with
templateV2() initialized to the given value. |
static TemplateDefinition |
fromTemplateV3(Consumer<TemplateV3.Builder> templateV3)
Create an instance of this class with
templateV3() initialized to the given value. |
static TemplateDefinition |
fromTemplateV3(TemplateV3 templateV3)
Create an instance of this class with
templateV3() initialized to the given value. |
static TemplateDefinition |
fromTemplateV4(Consumer<TemplateV4.Builder> templateV4)
Create an instance of this class with
templateV4() initialized to the given value. |
static TemplateDefinition |
fromTemplateV4(TemplateV4 templateV4)
Create an instance of this class with
templateV4() initialized to the given value. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends TemplateDefinition.Builder> |
serializableBuilderClass() |
TemplateV2 |
templateV2()
Template configuration to define the information included in certificates.
|
TemplateV3 |
templateV3()
Template configuration to define the information included in certificates.
|
TemplateV4 |
templateV4()
Template configuration to define the information included in certificates.
|
TemplateDefinition.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
TemplateDefinition.Type |
type()
Retrieve an enum value representing which member of this object is populated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final TemplateV2 templateV2()
Template configuration to define the information included in certificates. Define certificate validity and renewal periods, certificate request handling and enrollment options, key usage extensions, application policies, and cryptography settings.
public final TemplateV3 templateV3()
Template configuration to define the information included in certificates. Define certificate validity and renewal periods, certificate request handling and enrollment options, key usage extensions, application policies, and cryptography settings.
public final TemplateV4 templateV4()
Template configuration to define the information included in certificates. Define certificate validity and renewal periods, certificate request handling and enrollment options, key usage extensions, application policies, and cryptography settings.
public TemplateDefinition.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TemplateDefinition.Builder,TemplateDefinition>public static TemplateDefinition.Builder builder()
public static Class<? extends TemplateDefinition.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public static TemplateDefinition fromTemplateV2(TemplateV2 templateV2)
templateV2() initialized to the given value.
Template configuration to define the information included in certificates. Define certificate validity and renewal periods, certificate request handling and enrollment options, key usage extensions, application policies, and cryptography settings.
templateV2 - Template configuration to define the information included in certificates. Define certificate validity and
renewal periods, certificate request handling and enrollment options, key usage extensions, application
policies, and cryptography settings.public static TemplateDefinition fromTemplateV2(Consumer<TemplateV2.Builder> templateV2)
templateV2() initialized to the given value.
Template configuration to define the information included in certificates. Define certificate validity and renewal periods, certificate request handling and enrollment options, key usage extensions, application policies, and cryptography settings.
templateV2 - Template configuration to define the information included in certificates. Define certificate validity and
renewal periods, certificate request handling and enrollment options, key usage extensions, application
policies, and cryptography settings.public static TemplateDefinition fromTemplateV3(TemplateV3 templateV3)
templateV3() initialized to the given value.
Template configuration to define the information included in certificates. Define certificate validity and renewal periods, certificate request handling and enrollment options, key usage extensions, application policies, and cryptography settings.
templateV3 - Template configuration to define the information included in certificates. Define certificate validity and
renewal periods, certificate request handling and enrollment options, key usage extensions, application
policies, and cryptography settings.public static TemplateDefinition fromTemplateV3(Consumer<TemplateV3.Builder> templateV3)
templateV3() initialized to the given value.
Template configuration to define the information included in certificates. Define certificate validity and renewal periods, certificate request handling and enrollment options, key usage extensions, application policies, and cryptography settings.
templateV3 - Template configuration to define the information included in certificates. Define certificate validity and
renewal periods, certificate request handling and enrollment options, key usage extensions, application
policies, and cryptography settings.public static TemplateDefinition fromTemplateV4(TemplateV4 templateV4)
templateV4() initialized to the given value.
Template configuration to define the information included in certificates. Define certificate validity and renewal periods, certificate request handling and enrollment options, key usage extensions, application policies, and cryptography settings.
templateV4 - Template configuration to define the information included in certificates. Define certificate validity and
renewal periods, certificate request handling and enrollment options, key usage extensions, application
policies, and cryptography settings.public static TemplateDefinition fromTemplateV4(Consumer<TemplateV4.Builder> templateV4)
templateV4() initialized to the given value.
Template configuration to define the information included in certificates. Define certificate validity and renewal periods, certificate request handling and enrollment options, key usage extensions, application policies, and cryptography settings.
templateV4 - Template configuration to define the information included in certificates. Define certificate validity and
renewal periods, certificate request handling and enrollment options, key usage extensions, application
policies, and cryptography settings.public TemplateDefinition.Type type()
TemplateDefinition.Type.UNKNOWN_TO_SDK_VERSION if the
service returned a member that is only known to a newer SDK version.
When this class is created directly in your code, this will be TemplateDefinition.Type.UNKNOWN_TO_SDK_VERSION if zero
members are set, and null if more than one member is set.Copyright © 2023. All rights reserved.