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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetDeviceDefinitionVersionResponse.Builderarn(String arn)The ARN of the device definition version.GetDeviceDefinitionVersionResponse.BuildercreationTimestamp(String creationTimestamp)The time, in milliseconds since the epoch, when the device definition version was created.default GetDeviceDefinitionVersionResponse.Builderdefinition(Consumer<DeviceDefinitionVersion.Builder> definition)Information about the device definition version.GetDeviceDefinitionVersionResponse.Builderdefinition(DeviceDefinitionVersion definition)Information about the device definition version.GetDeviceDefinitionVersionResponse.Builderid(String id)The ID of the device definition version.GetDeviceDefinitionVersionResponse.BuildernextToken(String nextToken)The token for the next set of results, or ''null'' if there are no additional results.GetDeviceDefinitionVersionResponse.Builderversion(String version)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 Detail
-
arn
GetDeviceDefinitionVersionResponse.Builder arn(String 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
GetDeviceDefinitionVersionResponse.Builder creationTimestamp(String 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
GetDeviceDefinitionVersionResponse.Builder definition(DeviceDefinitionVersion 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.Builderavoiding the need to create one manually viaDeviceDefinitionVersion.builder().When the
Consumercompletes,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:
definition(DeviceDefinitionVersion)
-
id
GetDeviceDefinitionVersionResponse.Builder id(String 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
GetDeviceDefinitionVersionResponse.Builder nextToken(String 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
GetDeviceDefinitionVersionResponse.Builder version(String 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.
-
-