Class GeneralName
- java.lang.Object
-
- software.amazon.awssdk.services.acmpca.model.GeneralName
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<GeneralName.Builder,GeneralName>
@Generated("software.amazon.awssdk:codegen") public final class GeneralName extends Object implements SdkPojo, Serializable, ToCopyableBuilder<GeneralName.Builder,GeneralName>
Describes an ASN.1 X.400
GeneralNameas defined in RFC 5280. Only one of the following naming options should be provided. Providing more than one option results in anInvalidArgsExceptionerror.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGeneralName.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GeneralName.Builderbuilder()ASN1SubjectdirectoryName()Returns the value of the DirectoryName property for this object.StringdnsName()RepresentsGeneralNameas a DNS name.EdiPartyNameediPartyName()RepresentsGeneralNameas anEdiPartyNameobject.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringipAddress()RepresentsGeneralNameas an IPv4 or IPv6 address.OtherNameotherName()RepresentsGeneralNameusing anOtherNameobject.StringregisteredId()RepresentsGeneralNameas an object identifier (OID).Stringrfc822Name()RepresentsGeneralNameas an RFC 822 email address.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends GeneralName.Builder>serializableBuilderClass()GeneralName.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringuniformResourceIdentifier()RepresentsGeneralNameas a URI.-
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
-
otherName
public final OtherName otherName()
Represents
GeneralNameusing anOtherNameobject.- Returns:
- Represents
GeneralNameusing anOtherNameobject.
-
rfc822Name
public final String rfc822Name()
Represents
GeneralNameas an RFC 822 email address.- Returns:
- Represents
GeneralNameas an RFC 822 email address.
-
dnsName
public final String dnsName()
Represents
GeneralNameas a DNS name.- Returns:
- Represents
GeneralNameas a DNS name.
-
directoryName
public final ASN1Subject directoryName()
Returns the value of the DirectoryName property for this object.- Returns:
- The value of the DirectoryName property for this object.
-
ediPartyName
public final EdiPartyName ediPartyName()
Represents
GeneralNameas anEdiPartyNameobject.- Returns:
- Represents
GeneralNameas anEdiPartyNameobject.
-
uniformResourceIdentifier
public final String uniformResourceIdentifier()
Represents
GeneralNameas a URI.- Returns:
- Represents
GeneralNameas a URI.
-
ipAddress
public final String ipAddress()
Represents
GeneralNameas an IPv4 or IPv6 address.- Returns:
- Represents
GeneralNameas an IPv4 or IPv6 address.
-
registeredId
public final String registeredId()
Represents
GeneralNameas an object identifier (OID).- Returns:
- Represents
GeneralNameas an object identifier (OID).
-
toBuilder
public GeneralName.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GeneralName.Builder,GeneralName>
-
builder
public static GeneralName.Builder builder()
-
serializableBuilderClass
public static Class<? extends GeneralName.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-