public static interface ServerCertificate.Builder extends SdkPojo, CopyableBuilder<ServerCertificate.Builder,ServerCertificate>
Modifier and Type | Method and Description |
---|---|
ServerCertificate.Builder |
certificateBody(String certificateBody)
The contents of the public key certificate.
|
ServerCertificate.Builder |
certificateChain(String certificateChain)
The contents of the public key certificate chain.
|
default ServerCertificate.Builder |
serverCertificateMetadata(Consumer<ServerCertificateMetadata.Builder> serverCertificateMetadata)
The meta information of the server certificate, such as its name, path, ID, and ARN.
|
ServerCertificate.Builder |
serverCertificateMetadata(ServerCertificateMetadata serverCertificateMetadata)
The meta information of the server certificate, such as its name, path, ID, and ARN.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
ServerCertificate.Builder serverCertificateMetadata(ServerCertificateMetadata serverCertificateMetadata)
The meta information of the server certificate, such as its name, path, ID, and ARN.
serverCertificateMetadata
- The meta information of the server certificate, such as its name, path, ID, and ARN.default ServerCertificate.Builder serverCertificateMetadata(Consumer<ServerCertificateMetadata.Builder> serverCertificateMetadata)
The meta information of the server certificate, such as its name, path, ID, and ARN.
This is a convenience that creates an instance of theServerCertificateMetadata.Builder
avoiding the
need to create one manually via ServerCertificateMetadata.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to serverCertificateMetadata(ServerCertificateMetadata)
.serverCertificateMetadata
- a consumer that will call methods on ServerCertificateMetadata.Builder
serverCertificateMetadata(ServerCertificateMetadata)
ServerCertificate.Builder certificateBody(String certificateBody)
The contents of the public key certificate.
certificateBody
- The contents of the public key certificate.ServerCertificate.Builder certificateChain(String certificateChain)
The contents of the public key certificate chain.
certificateChain
- The contents of the public key certificate chain.Copyright © 2019. All rights reserved.