Interface GeneralName.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GeneralName.Builder,,GeneralName> SdkBuilder<GeneralName.Builder,,GeneralName> SdkPojo
- Enclosing class:
GeneralName
-
Method Summary
Modifier and TypeMethodDescriptiondefault GeneralName.BuilderdirectoryName(Consumer<DistinguishedName.Builder> directoryName) Contains information about the certificate subject.directoryName(DistinguishedName directoryName) Contains information about the certificate subject.RepresentsGeneralNameas a DNS name.RepresentsGeneralNameas an IPv4 or IPv6 address.default GeneralName.BuilderotherName(Consumer<OtherName.Builder> otherName) RepresentsGeneralNameusing anOtherNameobject.RepresentsGeneralNameusing anOtherNameobject.registeredId(String registeredId) RepresentsGeneralNameas an object identifier (OID).rfc822Name(String rfc822Name) RepresentsGeneralNameas an RFC 822 email address.uniformResourceIdentifier(String uniformResourceIdentifier) RepresentsGeneralNameas a URI.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
directoryName
Contains information about the certificate subject. The
Subjectfield in the certificate identifies the entity that owns or controls the public key in the certificate. The entity can be a user, computer, device, or service. TheSubjectmust contain an X.500 distinguished name (DN). A DN is a sequence of relative distinguished names (RDNs). The RDNs are separated by commas in the certificate.- Parameters:
directoryName- Contains information about the certificate subject. TheSubjectfield in the certificate identifies the entity that owns or controls the public key in the certificate. The entity can be a user, computer, device, or service. TheSubjectmust contain an X.500 distinguished name (DN). A DN is a sequence of relative distinguished names (RDNs). The RDNs are separated by commas in the certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
directoryName
Contains information about the certificate subject. The
This is a convenience method that creates an instance of theSubjectfield in the certificate identifies the entity that owns or controls the public key in the certificate. The entity can be a user, computer, device, or service. TheSubjectmust contain an X.500 distinguished name (DN). A DN is a sequence of relative distinguished names (RDNs). The RDNs are separated by commas in the certificate.DistinguishedName.Builderavoiding the need to create one manually viaDistinguishedName.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todirectoryName(DistinguishedName).- Parameters:
directoryName- a consumer that will call methods onDistinguishedName.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dnsName
Represents
GeneralNameas a DNS name.- Parameters:
dnsName- RepresentsGeneralNameas a DNS name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipAddress
Represents
GeneralNameas an IPv4 or IPv6 address.- Parameters:
ipAddress- RepresentsGeneralNameas an IPv4 or IPv6 address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
otherName
Represents
GeneralNameusing anOtherNameobject.- Parameters:
otherName- RepresentsGeneralNameusing anOtherNameobject.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
otherName
Represents
This is a convenience method that creates an instance of theGeneralNameusing anOtherNameobject.OtherName.Builderavoiding the need to create one manually viaOtherName.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tootherName(OtherName).- Parameters:
otherName- a consumer that will call methods onOtherName.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
registeredId
Represents
GeneralNameas an object identifier (OID).- Parameters:
registeredId- RepresentsGeneralNameas an object identifier (OID).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rfc822Name
-
uniformResourceIdentifier
Represents
GeneralNameas a URI.- Parameters:
uniformResourceIdentifier- RepresentsGeneralNameas a URI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-