public static interface CreateComponentVersionResponse.Builder extends GreengrassV2Response.Builder, SdkPojo, CopyableBuilder<CreateComponentVersionResponse.Builder,CreateComponentVersionResponse>
| Modifier and Type | Method and Description |
|---|---|
CreateComponentVersionResponse.Builder |
arn(String arn)
The ARN of the
component version.
|
CreateComponentVersionResponse.Builder |
componentName(String componentName)
The name of the component.
|
CreateComponentVersionResponse.Builder |
componentVersion(String componentVersion)
The version of the component.
|
CreateComponentVersionResponse.Builder |
creationTimestamp(Instant creationTimestamp)
The time at which the component was created, expressed in ISO 8601 format.
|
CreateComponentVersionResponse.Builder |
status(CloudComponentStatus status)
The status of the component version in IoT Greengrass V2.
|
default CreateComponentVersionResponse.Builder |
status(Consumer<CloudComponentStatus.Builder> status)
The status of the component version in IoT Greengrass V2.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateComponentVersionResponse.Builder arn(String arn)
The ARN of the component version.
arn - The ARN of
the component version.CreateComponentVersionResponse.Builder componentName(String componentName)
The name of the component.
componentName - The name of the component.CreateComponentVersionResponse.Builder componentVersion(String componentVersion)
The version of the component.
componentVersion - The version of the component.CreateComponentVersionResponse.Builder creationTimestamp(Instant creationTimestamp)
The time at which the component was created, expressed in ISO 8601 format.
creationTimestamp - The time at which the component was created, expressed in ISO 8601 format.CreateComponentVersionResponse.Builder status(CloudComponentStatus status)
The status of the component version in IoT Greengrass V2. This status is different from the status of the component on a core device.
status - The status of the component version in IoT Greengrass V2. This status is different from the status of
the component on a core device.default CreateComponentVersionResponse.Builder status(Consumer<CloudComponentStatus.Builder> status)
The status of the component version in IoT Greengrass V2. This status is different from the status of the component on a core device.
This is a convenience method that creates an instance of theCloudComponentStatus.Builder avoiding
the need to create one manually via CloudComponentStatus.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to status(CloudComponentStatus).
status - a consumer that will call methods on CloudComponentStatus.Builderstatus(CloudComponentStatus)Copyright © 2023. All rights reserved.