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