Interface UploadServerCertificateResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<UploadServerCertificateResponse.Builder,
,UploadServerCertificateResponse> IamResponse.Builder
,SdkBuilder<UploadServerCertificateResponse.Builder,
,UploadServerCertificateResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UploadServerCertificateResponse
-
Method Summary
Modifier and TypeMethodDescriptionserverCertificateMetadata
(Consumer<ServerCertificateMetadata.Builder> serverCertificateMetadata) The meta information of the uploaded server certificate without its certificate body, certificate chain, and private key.serverCertificateMetadata
(ServerCertificateMetadata serverCertificateMetadata) The meta information of the uploaded server certificate without its certificate body, certificate chain, and private key.tags
(Collection<Tag> tags) A list of tags that are attached to the new IAM server certificate.tags
(Consumer<Tag.Builder>... tags) A list of tags that are attached to the new IAM server certificate.A list of tags that are attached to the new IAM server certificate.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iam.model.IamResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
serverCertificateMetadata
UploadServerCertificateResponse.Builder serverCertificateMetadata(ServerCertificateMetadata serverCertificateMetadata) The meta information of the uploaded server certificate without its certificate body, certificate chain, and private key.
- Parameters:
serverCertificateMetadata
- The meta information of the uploaded server certificate without its certificate body, certificate chain, and private key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverCertificateMetadata
default UploadServerCertificateResponse.Builder serverCertificateMetadata(Consumer<ServerCertificateMetadata.Builder> serverCertificateMetadata) The meta information of the uploaded server certificate without its certificate body, certificate chain, and private key.
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:
-
tags
A list of tags that are attached to the new IAM server certificate. The returned list of tags is sorted by tag key. 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 new IAM server certificate. The returned list of tags is sorted by tag key. 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 new IAM server certificate. The returned list of tags is sorted by tag key. 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 new IAM server certificate. The returned list of tags is sorted by tag key. 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 new IAM server certificate. The returned list of tags is sorted by tag key. 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:
-