Interface Certificate.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Certificate.Builder,
,Certificate> SdkBuilder<Certificate.Builder,
,Certificate> SdkPojo
- Enclosing class:
Certificate
-
Method Summary
Modifier and TypeMethodDescriptioncertificateId
(String certificateId) The identifier of the certificate.default Certificate.Builder
clientCertAuthSettings
(Consumer<ClientCertAuthSettings.Builder> clientCertAuthSettings) AClientCertAuthSettings
object that contains client certificate authentication settings.clientCertAuthSettings
(ClientCertAuthSettings clientCertAuthSettings) AClientCertAuthSettings
object that contains client certificate authentication settings.commonName
(String commonName) The common name for the certificate.expiryDateTime
(Instant expiryDateTime) The date and time when the certificate will expire.registeredDateTime
(Instant registeredDateTime) The date and time that the certificate was registered.The state of the certificate.state
(CertificateState state) The state of the certificate.stateReason
(String stateReason) Describes a state change for the certificate.The function that the registered certificate performs.type
(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, sdkFields
-
Method Details
-
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
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:
-
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:
-
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
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
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
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
The function that the registered certificate performs. Valid values include
ClientLDAPS
orClientCertAuth
. The default value isClientLDAPS
.- Parameters:
type
- The function that the registered certificate performs. Valid values includeClientLDAPS
orClientCertAuth
. The default value isClientLDAPS
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The function that the registered certificate performs. Valid values include
ClientLDAPS
orClientCertAuth
. The default value isClientLDAPS
.- Parameters:
type
- The function that the registered certificate performs. Valid values includeClientLDAPS
orClientCertAuth
. The default value isClientLDAPS
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientCertAuthSettings
A
ClientCertAuthSettings
object that contains client certificate authentication settings.- Parameters:
clientCertAuthSettings
- AClientCertAuthSettings
object 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 theClientCertAuthSettings
object that contains client certificate authentication settings.ClientCertAuthSettings.Builder
avoiding the need to create one manually viaClientCertAuthSettings.builder()
.When the
Consumer
completes,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:
-