Class SubjectNameFlagsV3
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SubjectNameFlagsV3.Builder,SubjectNameFlagsV3>
Information to include in the subject name and alternate subject name of the certificate. The subject name can be common name, directory path, DNS as common name, or left blank. You can optionally include email to the subject name for user templates. If you leave the subject name blank then you must set a subject alternate name. The subject alternate name (SAN) can include globally unique identifier (GUID), DNS, domain DNS, email, service principal name (SPN), and user principal name (UPN). You can leave the SAN blank. If you leave the SAN blank, then you must set a subject name.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic SubjectNameFlagsV3.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final BooleanInclude the common name in the subject name.final BooleanInclude the directory path in the subject name.final BooleanInclude the DNS as common name in the subject name.final BooleanInclude the subject's email in the subject name.final BooleanInclude the globally unique identifier (GUID) in the subject alternate name.final BooleanInclude the DNS in the subject alternate name.final BooleanInclude the domain DNS in the subject alternate name.final BooleanInclude the subject's email in the subject alternate name.final BooleanInclude the service principal name (SPN) in the subject alternate name.final BooleanInclude the user principal name (UPN) in the subject alternate name.static Class<? extends SubjectNameFlagsV3.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
requireCommonName
Include the common name in the subject name.
- Returns:
- Include the common name in the subject name.
-
requireDirectoryPath
Include the directory path in the subject name.
- Returns:
- Include the directory path in the subject name.
-
requireDnsAsCn
Include the DNS as common name in the subject name.
- Returns:
- Include the DNS as common name in the subject name.
-
requireEmail
Include the subject's email in the subject name.
- Returns:
- Include the subject's email in the subject name.
-
sanRequireDirectoryGuid
Include the globally unique identifier (GUID) in the subject alternate name.
- Returns:
- Include the globally unique identifier (GUID) in the subject alternate name.
-
sanRequireDns
Include the DNS in the subject alternate name.
- Returns:
- Include the DNS in the subject alternate name.
-
sanRequireDomainDns
Include the domain DNS in the subject alternate name.
- Returns:
- Include the domain DNS in the subject alternate name.
-
sanRequireEmail
Include the subject's email in the subject alternate name.
- Returns:
- Include the subject's email in the subject alternate name.
-
sanRequireSpn
Include the service principal name (SPN) in the subject alternate name.
- Returns:
- Include the service principal name (SPN) in the subject alternate name.
-
sanRequireUpn
Include the user principal name (UPN) in the subject alternate name.
- Returns:
- Include the user principal name (UPN) in the subject alternate name.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<SubjectNameFlagsV3.Builder,SubjectNameFlagsV3> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-