Interface GetDeviceDefinitionVersionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetDeviceDefinitionVersionResponse.Builder,
,GetDeviceDefinitionVersionResponse> GreengrassResponse.Builder
,SdkBuilder<GetDeviceDefinitionVersionResponse.Builder,
,GetDeviceDefinitionVersionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetDeviceDefinitionVersionResponse
public static interface GetDeviceDefinitionVersionResponse.Builder
extends GreengrassResponse.Builder, SdkPojo, CopyableBuilder<GetDeviceDefinitionVersionResponse.Builder,GetDeviceDefinitionVersionResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the device definition version.creationTimestamp
(String creationTimestamp) The time, in milliseconds since the epoch, when the device definition version was created.definition
(Consumer<DeviceDefinitionVersion.Builder> definition) Information about the device definition version.definition
(DeviceDefinitionVersion definition) Information about the device definition version.The ID of the device definition version.The token for the next set of results, or ''null'' if there are no additional results.The version of the device definition version.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.greengrass.model.GreengrassResponse.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 Details
-
arn
The ARN of the device definition version.- Parameters:
arn
- The ARN of the device definition version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTimestamp
The time, in milliseconds since the epoch, when the device definition version was created.- Parameters:
creationTimestamp
- The time, in milliseconds since the epoch, when the device definition version was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definition
Information about the device definition version.- Parameters:
definition
- Information about the device definition version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definition
default GetDeviceDefinitionVersionResponse.Builder definition(Consumer<DeviceDefinitionVersion.Builder> definition) Information about the device definition version. This is a convenience method that creates an instance of theDeviceDefinitionVersion.Builder
avoiding the need to create one manually viaDeviceDefinitionVersion.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todefinition(DeviceDefinitionVersion)
.- Parameters:
definition
- a consumer that will call methods onDeviceDefinitionVersion.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
id
The ID of the device definition version.- Parameters:
id
- The ID of the device definition version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The token for the next set of results, or ''null'' if there are no additional results.- Parameters:
nextToken
- The token for the next set of results, or ''null'' if there are no additional results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
The version of the device definition version.- Parameters:
version
- The version of the device definition version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-