Interface GetCoreDeviceResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetCoreDeviceResponse.Builder,GetCoreDeviceResponse>,GreengrassV2Response.Builder,SdkBuilder<GetCoreDeviceResponse.Builder,GetCoreDeviceResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetCoreDeviceResponse
public static interface GetCoreDeviceResponse.Builder extends GreengrassV2Response.Builder, SdkPojo, CopyableBuilder<GetCoreDeviceResponse.Builder,GetCoreDeviceResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetCoreDeviceResponse.Builderarchitecture(String architecture)The computer architecture of the core device.GetCoreDeviceResponse.BuildercoreDeviceThingName(String coreDeviceThingName)The name of the core device.GetCoreDeviceResponse.BuildercoreVersion(String coreVersion)The version of the IoT Greengrass Core software that the core device runs.GetCoreDeviceResponse.BuilderlastStatusUpdateTimestamp(Instant lastStatusUpdateTimestamp)The time at which the core device's status last updated, expressed in ISO 8601 format.GetCoreDeviceResponse.Builderplatform(String platform)The operating system platform that the core device runs.GetCoreDeviceResponse.Builderstatus(String status)The status of the core device.GetCoreDeviceResponse.Builderstatus(CoreDeviceStatus status)The status of the core device.GetCoreDeviceResponse.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
-
coreDeviceThingName
GetCoreDeviceResponse.Builder coreDeviceThingName(String coreDeviceThingName)
The name of the core device. This is also the name of the IoT thing.
- Parameters:
coreDeviceThingName- The name of the core device. This is also the name of the IoT thing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
coreVersion
GetCoreDeviceResponse.Builder coreVersion(String coreVersion)
The version of the IoT Greengrass Core software that the core device runs. This version is equivalent to the version of the Greengrass nucleus component that runs on the core device. For more information, see the Greengrass nucleus component in the IoT Greengrass V2 Developer Guide.
- Parameters:
coreVersion- The version of the IoT Greengrass Core software that the core device runs. This version is equivalent to the version of the Greengrass nucleus component that runs on the core device. For more information, see the Greengrass nucleus component in the IoT Greengrass V2 Developer Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
platform
GetCoreDeviceResponse.Builder platform(String platform)
The operating system platform that the core device runs.
- Parameters:
platform- The operating system platform that the core device runs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
architecture
GetCoreDeviceResponse.Builder architecture(String architecture)
The computer architecture of the core device.
- Parameters:
architecture- The computer architecture of the core device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
GetCoreDeviceResponse.Builder status(String status)
The status of the core device. The core device status can be:
-
HEALTHY– The IoT Greengrass Core software and all components run on the core device without issue. -
UNHEALTHY– The IoT Greengrass Core software or a component is in a failed state on the core device.
- Parameters:
status- The status of the core device. The core device status can be:-
HEALTHY– The IoT Greengrass Core software and all components run on the core device without issue. -
UNHEALTHY– The IoT Greengrass Core software or a component is in a failed state on the core device.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CoreDeviceStatus,CoreDeviceStatus
-
-
status
GetCoreDeviceResponse.Builder status(CoreDeviceStatus status)
The status of the core device. The core device status can be:
-
HEALTHY– The IoT Greengrass Core software and all components run on the core device without issue. -
UNHEALTHY– The IoT Greengrass Core software or a component is in a failed state on the core device.
- Parameters:
status- The status of the core device. The core device status can be:-
HEALTHY– The IoT Greengrass Core software and all components run on the core device without issue. -
UNHEALTHY– The IoT Greengrass Core software or a component is in a failed state on the core device.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CoreDeviceStatus,CoreDeviceStatus
-
-
lastStatusUpdateTimestamp
GetCoreDeviceResponse.Builder lastStatusUpdateTimestamp(Instant lastStatusUpdateTimestamp)
The time at which the core device's status last updated, expressed in ISO 8601 format.
- Parameters:
lastStatusUpdateTimestamp- The time at which the core device's status last updated, expressed in ISO 8601 format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
GetCoreDeviceResponse.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.
-
-