Class SubjectNameFlagsV4
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<SubjectNameFlagsV4.Builder,
SubjectNameFlagsV4>
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 SubjectNameFlagsV4.Builder
builder()
final boolean
final boolean
equalsBySdkFields
(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 int
hashCode()
final Boolean
Include the common name in the subject name.final Boolean
Include the directory path in the subject name.final Boolean
Include the DNS as common name in the subject name.final Boolean
Include the subject's email in the subject name.final Boolean
Include the globally unique identifier (GUID) in the subject alternate name.final Boolean
Include the DNS in the subject alternate name.final Boolean
Include the domain DNS in the subject alternate name.final Boolean
Include the subject's email in the subject alternate name.final Boolean
Include the service principal name (SPN) in the subject alternate name.final Boolean
Include the user principal name (UPN) in the subject alternate name.static Class
<? extends SubjectNameFlagsV4.Builder> Take this object and create a builder that contains all of the current property values of this object.final String
toString()
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:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<SubjectNameFlagsV4.Builder,
SubjectNameFlagsV4> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in 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
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. -
getValueForField
-
sdkFields
-