public static interface GetDeviceDefinitionVersionResponse.Builder extends GreengrassResponse.Builder, CopyableBuilder<GetDeviceDefinitionVersionResponse.Builder,GetDeviceDefinitionVersionResponse>
Modifier and Type | Method and Description |
---|---|
GetDeviceDefinitionVersionResponse.Builder |
arn(String arn)
Arn of the device definition version.
|
GetDeviceDefinitionVersionResponse.Builder |
creationTimestamp(String creationTimestamp)
Timestamp of when the device definition version was created.
|
default GetDeviceDefinitionVersionResponse.Builder |
definition(Consumer<DeviceDefinitionVersion.Builder> definition)
Device definition version This is a convenience that creates an instance of the
DeviceDefinitionVersion.Builder avoiding the need to create one manually via
DeviceDefinitionVersion.builder() . |
GetDeviceDefinitionVersionResponse.Builder |
definition(DeviceDefinitionVersion definition)
Device definition version
|
GetDeviceDefinitionVersionResponse.Builder |
id(String id)
Id of the device definition the version belongs to.
|
GetDeviceDefinitionVersionResponse.Builder |
version(String version)
Version of the device definition version.
|
build
copy
apply, build
GetDeviceDefinitionVersionResponse.Builder arn(String arn)
arn
- Arn of the device definition version.GetDeviceDefinitionVersionResponse.Builder creationTimestamp(String creationTimestamp)
creationTimestamp
- Timestamp of when the device definition version was created.GetDeviceDefinitionVersionResponse.Builder definition(DeviceDefinitionVersion definition)
definition
- Device definition versiondefault GetDeviceDefinitionVersionResponse.Builder definition(Consumer<DeviceDefinitionVersion.Builder> definition)
DeviceDefinitionVersion.Builder
avoiding the need to create one manually via
DeviceDefinitionVersion.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to definition(DeviceDefinitionVersion)
.definition
- a consumer that will call methods on DeviceDefinitionVersion.Builder
definition(DeviceDefinitionVersion)
GetDeviceDefinitionVersionResponse.Builder id(String id)
id
- Id of the device definition the version belongs to.GetDeviceDefinitionVersionResponse.Builder version(String version)
version
- Version of the device definition version.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.