Interface DescribeCertificateResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeCertificateResponse.Builder,DescribeCertificateResponse>
,IotResponse.Builder
,SdkBuilder<DescribeCertificateResponse.Builder,DescribeCertificateResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- DescribeCertificateResponse
public static interface DescribeCertificateResponse.Builder extends IotResponse.Builder, SdkPojo, CopyableBuilder<DescribeCertificateResponse.Builder,DescribeCertificateResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DescribeCertificateResponse.Builder
certificateDescription(Consumer<CertificateDescription.Builder> certificateDescription)
The description of the certificate.DescribeCertificateResponse.Builder
certificateDescription(CertificateDescription certificateDescription)
The description of the certificate.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.iot.model.IotResponse.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 Detail
-
certificateDescription
DescribeCertificateResponse.Builder certificateDescription(CertificateDescription certificateDescription)
The description of the certificate.
- Parameters:
certificateDescription
- The description of the certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificateDescription
default DescribeCertificateResponse.Builder certificateDescription(Consumer<CertificateDescription.Builder> certificateDescription)
The description of the certificate.
This is a convenience method that creates an instance of theCertificateDescription.Builder
avoiding the need to create one manually viaCertificateDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocertificateDescription(CertificateDescription)
.- Parameters:
certificateDescription
- a consumer that will call methods onCertificateDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
certificateDescription(CertificateDescription)
-
-