Interface Certificate.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Certificate.Builder,Certificate>,SdkBuilder<Certificate.Builder,Certificate>,SdkPojo
- Enclosing class:
- Certificate
public static interface Certificate.Builder extends SdkPojo, CopyableBuilder<Certificate.Builder,Certificate>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Certificate.BuildercertificateId(String certificateId)The identifier of the certificate.default Certificate.BuilderclientCertAuthSettings(Consumer<ClientCertAuthSettings.Builder> clientCertAuthSettings)AClientCertAuthSettingsobject that contains client certificate authentication settings.Certificate.BuilderclientCertAuthSettings(ClientCertAuthSettings clientCertAuthSettings)AClientCertAuthSettingsobject that contains client certificate authentication settings.Certificate.BuildercommonName(String commonName)The common name for the certificate.Certificate.BuilderexpiryDateTime(Instant expiryDateTime)The date and time when the certificate will expire.Certificate.BuilderregisteredDateTime(Instant registeredDateTime)The date and time that the certificate was registered.Certificate.Builderstate(String state)The state of the certificate.Certificate.Builderstate(CertificateState state)The state of the certificate.Certificate.BuilderstateReason(String stateReason)Describes a state change for the certificate.Certificate.Buildertype(String type)The function that the registered certificate performs.Certificate.Buildertype(CertificateType type)The function that the registered certificate performs.-
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
-
certificateId
Certificate.Builder certificateId(String certificateId)
The identifier of the certificate.
- Parameters:
certificateId- The identifier of the certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
Certificate.Builder state(String state)
The state of the certificate.
- Parameters:
state- The state of the certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CertificateState,CertificateState
-
state
Certificate.Builder state(CertificateState state)
The state of the certificate.
- Parameters:
state- The state of the certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CertificateState,CertificateState
-
stateReason
Certificate.Builder stateReason(String stateReason)
Describes a state change for the certificate.
- Parameters:
stateReason- Describes a state change for the certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commonName
Certificate.Builder commonName(String commonName)
The common name for the certificate.
- Parameters:
commonName- The common name for the certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
registeredDateTime
Certificate.Builder registeredDateTime(Instant registeredDateTime)
The date and time that the certificate was registered.
- Parameters:
registeredDateTime- The date and time that the certificate was registered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expiryDateTime
Certificate.Builder expiryDateTime(Instant expiryDateTime)
The date and time when the certificate will expire.
- Parameters:
expiryDateTime- The date and time when the certificate will expire.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
Certificate.Builder type(String type)
The function that the registered certificate performs. Valid values include
ClientLDAPSorClientCertAuth. The default value isClientLDAPS.- Parameters:
type- The function that the registered certificate performs. Valid values includeClientLDAPSorClientCertAuth. The default value isClientLDAPS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CertificateType,CertificateType
-
type
Certificate.Builder type(CertificateType type)
The function that the registered certificate performs. Valid values include
ClientLDAPSorClientCertAuth. The default value isClientLDAPS.- Parameters:
type- The function that the registered certificate performs. Valid values includeClientLDAPSorClientCertAuth. The default value isClientLDAPS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CertificateType,CertificateType
-
clientCertAuthSettings
Certificate.Builder clientCertAuthSettings(ClientCertAuthSettings clientCertAuthSettings)
A
ClientCertAuthSettingsobject that contains client certificate authentication settings.- Parameters:
clientCertAuthSettings- AClientCertAuthSettingsobject that contains client certificate authentication settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientCertAuthSettings
default Certificate.Builder clientCertAuthSettings(Consumer<ClientCertAuthSettings.Builder> clientCertAuthSettings)
A
This is a convenience method that creates an instance of theClientCertAuthSettingsobject that contains client certificate authentication settings.ClientCertAuthSettings.Builderavoiding the need to create one manually viaClientCertAuthSettings.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toclientCertAuthSettings(ClientCertAuthSettings).- Parameters:
clientCertAuthSettings- a consumer that will call methods onClientCertAuthSettings.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
clientCertAuthSettings(ClientCertAuthSettings)
-
-