public static interface GetSubscriptionDefinitionVersionResponse.Builder extends GreengrassResponse.Builder, CopyableBuilder<GetSubscriptionDefinitionVersionResponse.Builder,GetSubscriptionDefinitionVersionResponse>
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GetSubscriptionDefinitionVersionResponse.Builder arn(String arn)
arn
- Arn of the subscription definition version.GetSubscriptionDefinitionVersionResponse.Builder creationTimestamp(String creationTimestamp)
creationTimestamp
- Timestamp of when the subscription definition version was created.GetSubscriptionDefinitionVersionResponse.Builder definition(SubscriptionDefinitionVersion definition)
definition
- Information on the definitiondefault 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
- Id of the subscription definition the version belongs to.GetSubscriptionDefinitionVersionResponse.Builder version(String version)
version
- Version of the subscription definition version.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.