Interface CreateProvisioningClaimResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateProvisioningClaimResponse.Builder,
,CreateProvisioningClaimResponse> IotResponse.Builder
,SdkBuilder<CreateProvisioningClaimResponse.Builder,
,CreateProvisioningClaimResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateProvisioningClaimResponse
public static interface CreateProvisioningClaimResponse.Builder
extends IotResponse.Builder, SdkPojo, CopyableBuilder<CreateProvisioningClaimResponse.Builder,CreateProvisioningClaimResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncertificateId
(String certificateId) The ID of the certificate.certificatePem
(String certificatePem) The provisioning claim certificate.expiration
(Instant expiration) The provisioning claim expiration time.keyPair
(Consumer<KeyPair.Builder> keyPair) The provisioning claim key pair.The provisioning claim key pair.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 Details
-
certificateId
The ID of the certificate.
- Parameters:
certificateId
- The ID of the certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificatePem
The provisioning claim certificate.
- Parameters:
certificatePem
- The provisioning claim certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyPair
The provisioning claim key pair.
- Parameters:
keyPair
- The provisioning claim key pair.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyPair
The provisioning claim key pair.
This is a convenience method that creates an instance of theKeyPair.Builder
avoiding the need to create one manually viaKeyPair.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tokeyPair(KeyPair)
.- Parameters:
keyPair
- a consumer that will call methods onKeyPair.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
expiration
The provisioning claim expiration time.
- Parameters:
expiration
- The provisioning claim expiration time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-