public static interface GetSubscriptionDefinitionVersionResponse.Builder extends GreengrassResponse.Builder, SdkPojo, CopyableBuilder<GetSubscriptionDefinitionVersionResponse.Builder,GetSubscriptionDefinitionVersionResponse>
Modifier and Type | Method and Description |
---|---|
GetSubscriptionDefinitionVersionResponse.Builder |
arn(String arn)
The ARN of the subscription definition version.
|
GetSubscriptionDefinitionVersionResponse.Builder |
creationTimestamp(String creationTimestamp)
The time, in milliseconds since the epoch, when the subscription definition version was created.
|
default GetSubscriptionDefinitionVersionResponse.Builder |
definition(Consumer<SubscriptionDefinitionVersion.Builder> definition)
Information about the subscription definition version.
|
GetSubscriptionDefinitionVersionResponse.Builder |
definition(SubscriptionDefinitionVersion definition)
Information about the subscription definition version.
|
GetSubscriptionDefinitionVersionResponse.Builder |
id(String id)
The ID of the subscription definition version.
|
GetSubscriptionDefinitionVersionResponse.Builder |
nextToken(String nextToken)
The token for the next set of results, or ''null'' if there are no additional results.
|
GetSubscriptionDefinitionVersionResponse.Builder |
version(String version)
The version of the subscription definition version.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GetSubscriptionDefinitionVersionResponse.Builder arn(String arn)
arn
- The ARN of the subscription definition version.GetSubscriptionDefinitionVersionResponse.Builder creationTimestamp(String creationTimestamp)
creationTimestamp
- The time, in milliseconds since the epoch, when the subscription definition version was created.GetSubscriptionDefinitionVersionResponse.Builder definition(SubscriptionDefinitionVersion definition)
definition
- Information about the subscription definition version.default GetSubscriptionDefinitionVersionResponse.Builder definition(Consumer<SubscriptionDefinitionVersion.Builder> definition)
SubscriptionDefinitionVersion.Builder
avoiding the need to create one manually via
SubscriptionDefinitionVersion.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to definition(SubscriptionDefinitionVersion)
.definition
- a consumer that will call methods on SubscriptionDefinitionVersion.Builder
definition(SubscriptionDefinitionVersion)
GetSubscriptionDefinitionVersionResponse.Builder id(String id)
id
- The ID of the subscription definition version.GetSubscriptionDefinitionVersionResponse.Builder nextToken(String nextToken)
nextToken
- The token for the next set of results, or ''null'' if there are no additional results.GetSubscriptionDefinitionVersionResponse.Builder version(String version)
version
- The version of the subscription definition version.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.