Interface CreateComponentVersionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateComponentVersionResponse.Builder,
,CreateComponentVersionResponse> GreengrassV2Response.Builder
,SdkBuilder<CreateComponentVersionResponse.Builder,
,CreateComponentVersionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateComponentVersionResponse
@Mutable
@NotThreadSafe
public static interface CreateComponentVersionResponse.Builder
extends GreengrassV2Response.Builder, SdkPojo, CopyableBuilder<CreateComponentVersionResponse.Builder,CreateComponentVersionResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the component version.componentName
(String componentName) The name of the component.componentVersion
(String componentVersion) The version of the component.creationTimestamp
(Instant creationTimestamp) The time at which the component was created, expressed in ISO 8601 format.status
(Consumer<CloudComponentStatus.Builder> status) The status of the component version in IoT Greengrass V2.status
(CloudComponentStatus status) The status of the component version in IoT Greengrass V2.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.greengrassv2.model.GreengrassV2Response.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
arn
-
componentName
The name of the component.
- Parameters:
componentName
- The name of the component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
componentVersion
The version of the component.
- Parameters:
componentVersion
- The version of the component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTimestamp
The time at which the component was created, expressed in ISO 8601 format.
- Parameters:
creationTimestamp
- The time at which the component was created, expressed in ISO 8601 format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
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 viaCloudComponentStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatus(CloudComponentStatus)
.- Parameters:
status
- a consumer that will call methods onCloudComponentStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-