@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GeneralName extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
GeneralName() |
Modifier and Type | Method and Description |
---|---|
GeneralName |
clone() |
boolean |
equals(Object obj) |
ASN1Subject |
getDirectoryName() |
String |
getDnsName()
Represents
GeneralName as a DNS name. |
EdiPartyName |
getEdiPartyName()
Represents
GeneralName as an EdiPartyName object. |
String |
getIpAddress()
Represents
GeneralName as an IPv4 or IPv6 address. |
OtherName |
getOtherName()
Represents
GeneralName using an OtherName object. |
String |
getRegisteredId()
Represents
GeneralName as an object identifier (OID). |
String |
getRfc822Name()
Represents
GeneralName as an RFC 822
email address. |
String |
getUniformResourceIdentifier()
Represents
GeneralName as a URI. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDirectoryName(ASN1Subject directoryName) |
void |
setDnsName(String dnsName)
Represents
GeneralName as a DNS name. |
void |
setEdiPartyName(EdiPartyName ediPartyName)
Represents
GeneralName as an EdiPartyName object. |
void |
setIpAddress(String ipAddress)
Represents
GeneralName as an IPv4 or IPv6 address. |
void |
setOtherName(OtherName otherName)
Represents
GeneralName using an OtherName object. |
void |
setRegisteredId(String registeredId)
Represents
GeneralName as an object identifier (OID). |
void |
setRfc822Name(String rfc822Name)
Represents
GeneralName as an RFC 822
email address. |
void |
setUniformResourceIdentifier(String uniformResourceIdentifier)
Represents
GeneralName as a URI. |
String |
toString()
Returns a string representation of this object.
|
GeneralName |
withDirectoryName(ASN1Subject directoryName) |
GeneralName |
withDnsName(String dnsName)
Represents
GeneralName as a DNS name. |
GeneralName |
withEdiPartyName(EdiPartyName ediPartyName)
Represents
GeneralName as an EdiPartyName object. |
GeneralName |
withIpAddress(String ipAddress)
Represents
GeneralName as an IPv4 or IPv6 address. |
GeneralName |
withOtherName(OtherName otherName)
Represents
GeneralName using an OtherName object. |
GeneralName |
withRegisteredId(String registeredId)
Represents
GeneralName as an object identifier (OID). |
GeneralName |
withRfc822Name(String rfc822Name)
Represents
GeneralName as an RFC 822
email address. |
GeneralName |
withUniformResourceIdentifier(String uniformResourceIdentifier)
Represents
GeneralName as a URI. |
public void setOtherName(OtherName otherName)
Represents GeneralName
using an OtherName
object.
otherName
- Represents GeneralName
using an OtherName
object.public OtherName getOtherName()
Represents GeneralName
using an OtherName
object.
GeneralName
using an OtherName
object.public GeneralName withOtherName(OtherName otherName)
Represents GeneralName
using an OtherName
object.
otherName
- Represents GeneralName
using an OtherName
object.public void setRfc822Name(String rfc822Name)
Represents GeneralName
as an RFC 822
email address.
rfc822Name
- Represents GeneralName
as an RFC
822 email address.public String getRfc822Name()
Represents GeneralName
as an RFC 822
email address.
GeneralName
as an RFC
822 email address.public GeneralName withRfc822Name(String rfc822Name)
Represents GeneralName
as an RFC 822
email address.
rfc822Name
- Represents GeneralName
as an RFC
822 email address.public void setDnsName(String dnsName)
Represents GeneralName
as a DNS name.
dnsName
- Represents GeneralName
as a DNS name.public String getDnsName()
Represents GeneralName
as a DNS name.
GeneralName
as a DNS name.public GeneralName withDnsName(String dnsName)
Represents GeneralName
as a DNS name.
dnsName
- Represents GeneralName
as a DNS name.public void setDirectoryName(ASN1Subject directoryName)
directoryName
- public ASN1Subject getDirectoryName()
public GeneralName withDirectoryName(ASN1Subject directoryName)
directoryName
- public void setEdiPartyName(EdiPartyName ediPartyName)
Represents GeneralName
as an EdiPartyName
object.
ediPartyName
- Represents GeneralName
as an EdiPartyName
object.public EdiPartyName getEdiPartyName()
Represents GeneralName
as an EdiPartyName
object.
GeneralName
as an EdiPartyName
object.public GeneralName withEdiPartyName(EdiPartyName ediPartyName)
Represents GeneralName
as an EdiPartyName
object.
ediPartyName
- Represents GeneralName
as an EdiPartyName
object.public void setUniformResourceIdentifier(String uniformResourceIdentifier)
Represents GeneralName
as a URI.
uniformResourceIdentifier
- Represents GeneralName
as a URI.public String getUniformResourceIdentifier()
Represents GeneralName
as a URI.
GeneralName
as a URI.public GeneralName withUniformResourceIdentifier(String uniformResourceIdentifier)
Represents GeneralName
as a URI.
uniformResourceIdentifier
- Represents GeneralName
as a URI.public void setIpAddress(String ipAddress)
Represents GeneralName
as an IPv4 or IPv6 address.
ipAddress
- Represents GeneralName
as an IPv4 or IPv6 address.public String getIpAddress()
Represents GeneralName
as an IPv4 or IPv6 address.
GeneralName
as an IPv4 or IPv6 address.public GeneralName withIpAddress(String ipAddress)
Represents GeneralName
as an IPv4 or IPv6 address.
ipAddress
- Represents GeneralName
as an IPv4 or IPv6 address.public void setRegisteredId(String registeredId)
Represents GeneralName
as an object identifier (OID).
registeredId
- Represents GeneralName
as an object identifier (OID).public String getRegisteredId()
Represents GeneralName
as an object identifier (OID).
GeneralName
as an object identifier (OID).public GeneralName withRegisteredId(String registeredId)
Represents GeneralName
as an object identifier (OID).
registeredId
- Represents GeneralName
as an object identifier (OID).public String toString()
toString
in class Object
Object.toString()
public GeneralName clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.