@Generated(value="software.amazon.awssdk:codegen") public final class GeneralName extends Object implements SdkPojo, Serializable, ToCopyableBuilder<GeneralName.Builder,GeneralName>
Describes an ASN.1 X.400 GeneralName as defined in RFC 5280. Only one of the following naming options should be
provided. Providing more than one option results in an InvalidArgsException error.
| Modifier and Type | Class and Description |
|---|---|
static interface |
GeneralName.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GeneralName.Builder |
builder() |
ASN1Subject |
directoryName()
Returns the value of the DirectoryName property for this object.
|
String |
dnsName()
Represents
GeneralName as a DNS name. |
EdiPartyName |
ediPartyName()
Represents
GeneralName as an EdiPartyName object. |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
ipAddress()
Represents
GeneralName as an IPv4 or IPv6 address. |
OtherName |
otherName()
Represents
GeneralName using an OtherName object. |
String |
registeredId()
Represents
GeneralName as an object identifier (OID). |
String |
rfc822Name()
Represents
GeneralName as an RFC 822
email address. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends GeneralName.Builder> |
serializableBuilderClass() |
GeneralName.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
uniformResourceIdentifier()
Represents
GeneralName as a URI. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final OtherName otherName()
Represents GeneralName using an OtherName object.
GeneralName using an OtherName object.public final String rfc822Name()
Represents GeneralName as an RFC 822
email address.
GeneralName as an RFC
822 email address.public final String dnsName()
Represents GeneralName as a DNS name.
GeneralName as a DNS name.public final ASN1Subject directoryName()
public final EdiPartyName ediPartyName()
Represents GeneralName as an EdiPartyName object.
GeneralName as an EdiPartyName object.public final String uniformResourceIdentifier()
Represents GeneralName as a URI.
GeneralName as a URI.public final String ipAddress()
Represents GeneralName as an IPv4 or IPv6 address.
GeneralName as an IPv4 or IPv6 address.public final String registeredId()
Represents GeneralName as an object identifier (OID).
GeneralName as an object identifier (OID).public GeneralName.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GeneralName.Builder,GeneralName>public static GeneralName.Builder builder()
public static Class<? extends GeneralName.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.