Interface GetGroupVersionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetGroupVersionResponse.Builder,
,GetGroupVersionResponse> GreengrassResponse.Builder
,SdkBuilder<GetGroupVersionResponse.Builder,
,GetGroupVersionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetGroupVersionResponse
public static interface GetGroupVersionResponse.Builder
extends GreengrassResponse.Builder, SdkPojo, CopyableBuilder<GetGroupVersionResponse.Builder,GetGroupVersionResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the group version.creationTimestamp
(String creationTimestamp) The time, in milliseconds since the epoch, when the group version was created.default GetGroupVersionResponse.Builder
definition
(Consumer<GroupVersion.Builder> definition) Information about the group version definition.definition
(GroupVersion definition) Information about the group version definition.The ID of the group that the version is associated with.The ID of the group 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 group version.- Parameters:
arn
- The ARN of the group 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 group version was created.- Parameters:
creationTimestamp
- The time, in milliseconds since the epoch, when the group version was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definition
Information about the group version definition.- Parameters:
definition
- Information about the group version definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definition
Information about the group version definition. This is a convenience method that creates an instance of theGroupVersion.Builder
avoiding the need to create one manually viaGroupVersion.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todefinition(GroupVersion)
.- Parameters:
definition
- a consumer that will call methods onGroupVersion.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
id
The ID of the group that the version is associated with.- Parameters:
id
- The ID of the group that the version is associated with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
The ID of the group version.- Parameters:
version
- The ID of the group version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-