Class TemplateDefinition
- java.lang.Object
-
- software.amazon.awssdk.services.pcaconnectorad.model.TemplateDefinition
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TemplateDefinition.Builder,TemplateDefinition>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTemplateDefinition.Builderstatic classTemplateDefinition.Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TemplateDefinition.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)static TemplateDefinitionfromTemplateV2(Consumer<TemplateV2.Builder> templateV2)Create an instance of this class withtemplateV2()initialized to the given value.static TemplateDefinitionfromTemplateV2(TemplateV2 templateV2)Create an instance of this class withtemplateV2()initialized to the given value.static TemplateDefinitionfromTemplateV3(Consumer<TemplateV3.Builder> templateV3)Create an instance of this class withtemplateV3()initialized to the given value.static TemplateDefinitionfromTemplateV3(TemplateV3 templateV3)Create an instance of this class withtemplateV3()initialized to the given value.static TemplateDefinitionfromTemplateV4(Consumer<TemplateV4.Builder> templateV4)Create an instance of this class withtemplateV4()initialized to the given value.static TemplateDefinitionfromTemplateV4(TemplateV4 templateV4)Create an instance of this class withtemplateV4()initialized to the given value.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends TemplateDefinition.Builder>serializableBuilderClass()TemplateV2templateV2()Template configuration to define the information included in certificates.TemplateV3templateV3()Template configuration to define the information included in certificates.TemplateV4templateV4()Template configuration to define the information included in certificates.TemplateDefinition.BuildertoBuilder()StringtoString()Returns a string representation of this object.TemplateDefinition.Typetype()Retrieve an enum value representing which member of this object is populated.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
templateV2
public 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.
- Returns:
- 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
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.
- Returns:
- 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
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.
- Returns:
- 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.
-
toBuilder
public TemplateDefinition.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TemplateDefinition.Builder,TemplateDefinition>
-
builder
public static TemplateDefinition.Builder builder()
-
serializableBuilderClass
public static Class<? extends TemplateDefinition.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
fromTemplateV2
public static TemplateDefinition fromTemplateV2(TemplateV2 templateV2)
Create an instance of this class withtemplateV2()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.
- Parameters:
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.
-
fromTemplateV2
public static TemplateDefinition fromTemplateV2(Consumer<TemplateV2.Builder> templateV2)
Create an instance of this class withtemplateV2()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.
- Parameters:
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.
-
fromTemplateV3
public static TemplateDefinition fromTemplateV3(TemplateV3 templateV3)
Create an instance of this class withtemplateV3()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.
- Parameters:
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.
-
fromTemplateV3
public static TemplateDefinition fromTemplateV3(Consumer<TemplateV3.Builder> templateV3)
Create an instance of this class withtemplateV3()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.
- Parameters:
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.
-
fromTemplateV4
public static TemplateDefinition fromTemplateV4(TemplateV4 templateV4)
Create an instance of this class withtemplateV4()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.
- Parameters:
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.
-
fromTemplateV4
public static TemplateDefinition fromTemplateV4(Consumer<TemplateV4.Builder> templateV4)
Create an instance of this class withtemplateV4()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.
- Parameters:
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.
-
type
public TemplateDefinition.Type type()
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will beTemplateDefinition.Type.UNKNOWN_TO_SDK_VERSIONif 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 beTemplateDefinition.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set.
-
-