Interface GetTrustStoreCertificateResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetTrustStoreCertificateResponse.Builder,
,GetTrustStoreCertificateResponse> SdkBuilder<GetTrustStoreCertificateResponse.Builder,
,GetTrustStoreCertificateResponse> SdkPojo
,SdkResponse.Builder
,WorkSpacesWebResponse.Builder
- Enclosing class:
GetTrustStoreCertificateResponse
@Mutable
@NotThreadSafe
public static interface GetTrustStoreCertificateResponse.Builder
extends WorkSpacesWebResponse.Builder, SdkPojo, CopyableBuilder<GetTrustStoreCertificateResponse.Builder,GetTrustStoreCertificateResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncertificate
(Consumer<Certificate.Builder> certificate) The certificate of the trust store certificate.certificate
(Certificate certificate) The certificate of the trust store certificate.trustStoreArn
(String trustStoreArn) The ARN of the trust store 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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.workspacesweb.model.WorkSpacesWebResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
certificate
The certificate of the trust store certificate.
- Parameters:
certificate
- The certificate of the trust store certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificate
default GetTrustStoreCertificateResponse.Builder certificate(Consumer<Certificate.Builder> certificate) The certificate of the trust store certificate.
This is a convenience method that creates an instance of theCertificate.Builder
avoiding the need to create one manually viaCertificate.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocertificate(Certificate)
.- Parameters:
certificate
- a consumer that will call methods onCertificate.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
trustStoreArn
The ARN of the trust store certificate.
- Parameters:
trustStoreArn
- The ARN of the trust store certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-