Interface GeneralName.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<GeneralName.Builder,GeneralName>,SdkBuilder<GeneralName.Builder,GeneralName>,SdkPojo
- Enclosing class:
- GeneralName
public static interface GeneralName.Builder extends SdkPojo, CopyableBuilder<GeneralName.Builder,GeneralName>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GeneralName.BuilderdirectoryName(Consumer<ASN1Subject.Builder> directoryName)Sets the value of the DirectoryName property for this object.GeneralName.BuilderdirectoryName(ASN1Subject directoryName)Sets the value of the DirectoryName property for this object.GeneralName.BuilderdnsName(String dnsName)RepresentsGeneralNameas a DNS name.default GeneralName.BuilderediPartyName(Consumer<EdiPartyName.Builder> ediPartyName)RepresentsGeneralNameas anEdiPartyNameobject.GeneralName.BuilderediPartyName(EdiPartyName ediPartyName)RepresentsGeneralNameas anEdiPartyNameobject.GeneralName.BuilderipAddress(String ipAddress)RepresentsGeneralNameas an IPv4 or IPv6 address.default GeneralName.BuilderotherName(Consumer<OtherName.Builder> otherName)RepresentsGeneralNameusing anOtherNameobject.GeneralName.BuilderotherName(OtherName otherName)RepresentsGeneralNameusing anOtherNameobject.GeneralName.BuilderregisteredId(String registeredId)RepresentsGeneralNameas an object identifier (OID).GeneralName.Builderrfc822Name(String rfc822Name)RepresentsGeneralNameas an RFC 822 email address.GeneralName.BuilderuniformResourceIdentifier(String uniformResourceIdentifier)RepresentsGeneralNameas a URI.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
otherName
GeneralName.Builder otherName(OtherName otherName)
Represents
GeneralNameusing anOtherNameobject.- Parameters:
otherName- RepresentsGeneralNameusing anOtherNameobject.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
otherName
default GeneralName.Builder otherName(Consumer<OtherName.Builder> 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:
otherName(OtherName)
-
rfc822Name
GeneralName.Builder rfc822Name(String rfc822Name)
Represents
GeneralNameas an RFC 822 email address.- Parameters:
rfc822Name- RepresentsGeneralNameas an RFC 822 email address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dnsName
GeneralName.Builder dnsName(String 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.
-
directoryName
GeneralName.Builder directoryName(ASN1Subject directoryName)
Sets the value of the DirectoryName property for this object.- Parameters:
directoryName- The new value for the DirectoryName property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
directoryName
default GeneralName.Builder directoryName(Consumer<ASN1Subject.Builder> directoryName)
Sets the value of the DirectoryName property for this object. This is a convenience method that creates an instance of theASN1Subject.Builderavoiding the need to create one manually viaASN1Subject.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todirectoryName(ASN1Subject).- Parameters:
directoryName- a consumer that will call methods onASN1Subject.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
directoryName(ASN1Subject)
-
ediPartyName
GeneralName.Builder ediPartyName(EdiPartyName ediPartyName)
Represents
GeneralNameas anEdiPartyNameobject.- Parameters:
ediPartyName- RepresentsGeneralNameas anEdiPartyNameobject.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ediPartyName
default GeneralName.Builder ediPartyName(Consumer<EdiPartyName.Builder> ediPartyName)
Represents
This is a convenience method that creates an instance of theGeneralNameas anEdiPartyNameobject.EdiPartyName.Builderavoiding the need to create one manually viaEdiPartyName.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toediPartyName(EdiPartyName).- Parameters:
ediPartyName- a consumer that will call methods onEdiPartyName.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ediPartyName(EdiPartyName)
-
uniformResourceIdentifier
GeneralName.Builder uniformResourceIdentifier(String 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.
-
ipAddress
GeneralName.Builder ipAddress(String 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.
-
registeredId
GeneralName.Builder registeredId(String 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.
-
-