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