Interface ServerCertificate.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ServerCertificate.Builder,
,ServerCertificate> SdkBuilder<ServerCertificate.Builder,
,ServerCertificate> SdkPojo
- Enclosing class:
ServerCertificate
-
Method Summary
Modifier and TypeMethodDescriptioncertificateBody
(String certificateBody) The contents of the public key certificate.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.serverCertificateMetadata
(ServerCertificateMetadata serverCertificateMetadata) The meta information of the server certificate, such as its name, path, ID, and ARN.tags
(Collection<Tag> tags) A list of tags that are attached to the server certificate.tags
(Consumer<Tag.Builder>... tags) A list of tags that are attached to the server certificate.A list of tags that are attached to the server certificate.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 Details
-
serverCertificateMetadata
ServerCertificate.Builder serverCertificateMetadata(ServerCertificateMetadata serverCertificateMetadata) The meta information of the server certificate, such as its name, path, ID, and ARN.
- Parameters:
serverCertificateMetadata
- The meta information of the server certificate, such as its name, path, ID, and ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverCertificateMetadata
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 method that creates an instance of theServerCertificateMetadata.Builder
avoiding the need to create one manually viaServerCertificateMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toserverCertificateMetadata(ServerCertificateMetadata)
.- Parameters:
serverCertificateMetadata
- a consumer that will call methods onServerCertificateMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
certificateBody
The contents of the public key certificate.
- Parameters:
certificateBody
- The contents of the public key certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificateChain
The contents of the public key certificate chain.
- Parameters:
certificateChain
- The contents of the public key certificate chain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of tags that are attached to the server certificate. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
- Parameters:
tags
- A list of tags that are attached to the server certificate. For more information about tagging, see Tagging IAM resources in the IAM User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of tags that are attached to the server certificate. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
- Parameters:
tags
- A list of tags that are attached to the server certificate. For more information about tagging, see Tagging IAM resources in the IAM User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of tags that are attached to the server certificate. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-