Interface CreateComponentVersionResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateComponentVersionResponse.Builder,CreateComponentVersionResponse>,GreengrassV2Response.Builder,SdkBuilder<CreateComponentVersionResponse.Builder,CreateComponentVersionResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateComponentVersionResponse
public static interface CreateComponentVersionResponse.Builder extends GreengrassV2Response.Builder, SdkPojo, CopyableBuilder<CreateComponentVersionResponse.Builder,CreateComponentVersionResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateComponentVersionResponse.Builderarn(String arn)The ARN of the component version.CreateComponentVersionResponse.BuildercomponentName(String componentName)The name of the component.CreateComponentVersionResponse.BuildercomponentVersion(String componentVersion)The version of the component.CreateComponentVersionResponse.BuildercreationTimestamp(Instant creationTimestamp)The time at which the component was created, expressed in ISO 8601 format.default CreateComponentVersionResponse.Builderstatus(Consumer<CloudComponentStatus.Builder> status)The status of the component version in IoT Greengrass V2.CreateComponentVersionResponse.Builderstatus(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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
arn
CreateComponentVersionResponse.Builder arn(String arn)
The ARN of the component version.
- Parameters:
arn- The ARN of the component version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
componentName
CreateComponentVersionResponse.Builder componentName(String 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
CreateComponentVersionResponse.Builder componentVersion(String 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
CreateComponentVersionResponse.Builder creationTimestamp(Instant 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
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.
- 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.Builderavoiding the need to create one manually viaCloudComponentStatus.builder().When the
Consumercompletes,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:
status(CloudComponentStatus)
-
-