Interface ServerCertificate.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ServerCertificate.Builder,ServerCertificate>,SdkBuilder<ServerCertificate.Builder,ServerCertificate>,SdkPojo
- Enclosing class:
- ServerCertificate
@Mutable @NotThreadSafe public static interface ServerCertificate.Builder extends SdkPojo, CopyableBuilder<ServerCertificate.Builder,ServerCertificate>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ServerCertificate.BuildercertificateBody(String certificateBody)The contents of the public key certificate.ServerCertificate.BuildercertificateChain(String certificateChain)The contents of the public key certificate chain.default ServerCertificate.BuilderserverCertificateMetadata(Consumer<ServerCertificateMetadata.Builder> serverCertificateMetadata)The meta information of the server certificate, such as its name, path, ID, and ARN.ServerCertificate.BuilderserverCertificateMetadata(ServerCertificateMetadata serverCertificateMetadata)The meta information of the server certificate, such as its name, path, ID, and ARN.ServerCertificate.Buildertags(Collection<Tag> tags)A list of tags that are attached to the server certificate.ServerCertificate.Buildertags(Consumer<Tag.Builder>... tags)A list of tags that are attached to the server certificate.ServerCertificate.Buildertags(Tag... tags)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 Detail
-
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.Builderavoiding the need to create one manually viaServerCertificateMetadata.builder().When the
Consumercompletes,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:
serverCertificateMetadata(ServerCertificateMetadata)
-
certificateBody
ServerCertificate.Builder certificateBody(String 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
ServerCertificate.Builder certificateChain(String 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
ServerCertificate.Builder tags(Collection<Tag> 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
ServerCertificate.Builder tags(Tag... 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
ServerCertificate.Builder tags(Consumer<Tag.Builder>... 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.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - 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:
#tags(java.util.Collection)
-
-