public static interface CreateCertificateResponse.Builder extends LightsailResponse.Builder, SdkPojo, CopyableBuilder<CreateCertificateResponse.Builder,CreateCertificateResponse>
Modifier and Type | Method and Description |
---|---|
CreateCertificateResponse.Builder |
certificate(CertificateSummary certificate)
An object that describes the certificate created.
|
default CreateCertificateResponse.Builder |
certificate(Consumer<CertificateSummary.Builder> certificate)
An object that describes the certificate created.
|
CreateCertificateResponse.Builder |
operations(Collection<Operation> operations)
An array of objects that describe the result of the action, such as the status of the request, the timestamp
of the request, and the resources affected by the request.
|
CreateCertificateResponse.Builder |
operations(Consumer<Operation.Builder>... operations)
An array of objects that describe the result of the action, such as the status of the request, the timestamp
of the request, and the resources affected by the request.
|
CreateCertificateResponse.Builder |
operations(Operation... operations)
An array of objects that describe the result of the action, such as the status of the request, the timestamp
of the request, and the resources affected by the request.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
CreateCertificateResponse.Builder certificate(CertificateSummary certificate)
An object that describes the certificate created.
certificate
- An object that describes the certificate created.default CreateCertificateResponse.Builder certificate(Consumer<CertificateSummary.Builder> certificate)
An object that describes the certificate created.
This is a convenience that creates an instance of theCertificateSummary.Builder
avoiding the need to
create one manually via CertificateSummary.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to certificate(CertificateSummary)
.certificate
- a consumer that will call methods on CertificateSummary.Builder
certificate(CertificateSummary)
CreateCertificateResponse.Builder operations(Collection<Operation> operations)
An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
operations
- An array of objects that describe the result of the action, such as the status of the request, the
timestamp of the request, and the resources affected by the request.CreateCertificateResponse.Builder operations(Operation... operations)
An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
operations
- An array of objects that describe the result of the action, such as the status of the request, the
timestamp of the request, and the resources affected by the request.CreateCertificateResponse.Builder operations(Consumer<Operation.Builder>... operations)
An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #operations(List)
.operations
- a consumer that will call methods on List.Builder
#operations(List)