Interface DescribeComponentResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeComponentResponse.Builder,DescribeComponentResponse>,GreengrassV2Response.Builder,SdkBuilder<DescribeComponentResponse.Builder,DescribeComponentResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeComponentResponse
public static interface DescribeComponentResponse.Builder extends GreengrassV2Response.Builder, SdkPojo, CopyableBuilder<DescribeComponentResponse.Builder,DescribeComponentResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribeComponentResponse.Builderarn(String arn)The ARN of the component version.DescribeComponentResponse.BuildercomponentName(String componentName)The name of the component.DescribeComponentResponse.BuildercomponentVersion(String componentVersion)The version of the component.DescribeComponentResponse.BuildercreationTimestamp(Instant creationTimestamp)The time at which the component was created, expressed in ISO 8601 format.DescribeComponentResponse.Builderdescription(String description)The description of the component version.DescribeComponentResponse.Builderplatforms(Collection<ComponentPlatform> platforms)The platforms that the component version supports.DescribeComponentResponse.Builderplatforms(Consumer<ComponentPlatform.Builder>... platforms)The platforms that the component version supports.DescribeComponentResponse.Builderplatforms(ComponentPlatform... platforms)The platforms that the component version supports.DescribeComponentResponse.Builderpublisher(String publisher)The publisher of the component version.default DescribeComponentResponse.Builderstatus(Consumer<CloudComponentStatus.Builder> status)The status of the component version in IoT Greengrass V2.DescribeComponentResponse.Builderstatus(CloudComponentStatus status)The status of the component version in IoT Greengrass V2.DescribeComponentResponse.Buildertags(Map<String,String> tags)A list of key-value pairs that contain metadata for the resource.-
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
DescribeComponentResponse.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
DescribeComponentResponse.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
DescribeComponentResponse.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
DescribeComponentResponse.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.
-
publisher
DescribeComponentResponse.Builder publisher(String publisher)
The publisher of the component version.
- Parameters:
publisher- The publisher of the component version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
DescribeComponentResponse.Builder description(String description)
The description of the component version.
- Parameters:
description- The description of the component version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
DescribeComponentResponse.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 DescribeComponentResponse.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)
-
platforms
DescribeComponentResponse.Builder platforms(Collection<ComponentPlatform> platforms)
The platforms that the component version supports.
- Parameters:
platforms- The platforms that the component version supports.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
platforms
DescribeComponentResponse.Builder platforms(ComponentPlatform... platforms)
The platforms that the component version supports.
- Parameters:
platforms- The platforms that the component version supports.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
platforms
DescribeComponentResponse.Builder platforms(Consumer<ComponentPlatform.Builder>... platforms)
The platforms that the component version supports.
This is a convenience method that creates an instance of theComponentPlatform.Builderavoiding the need to create one manually viaComponentPlatform.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#platforms(List.) - Parameters:
platforms- a consumer that will call methods onComponentPlatform.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#platforms(java.util.Collection)
-
tags
DescribeComponentResponse.Builder tags(Map<String,String> tags)
A list of key-value pairs that contain metadata for the resource. For more information, see Tag your resources in the IoT Greengrass V2 Developer Guide.
- Parameters:
tags- A list of key-value pairs that contain metadata for the resource. For more information, see Tag your resources in the IoT Greengrass V2 Developer Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-