public static interface GetFunctionDefinitionVersionResponse.Builder extends GreengrassResponse.Builder, CopyableBuilder<GetFunctionDefinitionVersionResponse.Builder,GetFunctionDefinitionVersionResponse>
Modifier and Type | Method and Description |
---|---|
GetFunctionDefinitionVersionResponse.Builder |
arn(String arn)
Arn of the function definition version.
|
GetFunctionDefinitionVersionResponse.Builder |
creationTimestamp(String creationTimestamp)
Timestamp when the funtion definition version was created.
|
default GetFunctionDefinitionVersionResponse.Builder |
definition(Consumer<FunctionDefinitionVersion.Builder> definition)
Information on the definition.
|
GetFunctionDefinitionVersionResponse.Builder |
definition(FunctionDefinitionVersion definition)
Information on the definition.
|
GetFunctionDefinitionVersionResponse.Builder |
id(String id)
Id of the function definition the version belongs to.
|
GetFunctionDefinitionVersionResponse.Builder |
version(String version)
Version of the function definition version.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GetFunctionDefinitionVersionResponse.Builder arn(String arn)
arn
- Arn of the function definition version.GetFunctionDefinitionVersionResponse.Builder creationTimestamp(String creationTimestamp)
creationTimestamp
- Timestamp when the funtion definition version was created.GetFunctionDefinitionVersionResponse.Builder definition(FunctionDefinitionVersion definition)
definition
- Information on the definition.default GetFunctionDefinitionVersionResponse.Builder definition(Consumer<FunctionDefinitionVersion.Builder> definition)
FunctionDefinitionVersion.Builder
avoiding the need to create one manually via
FunctionDefinitionVersion.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to definition(FunctionDefinitionVersion)
.definition
- a consumer that will call methods on FunctionDefinitionVersion.Builder
definition(FunctionDefinitionVersion)
GetFunctionDefinitionVersionResponse.Builder id(String id)
id
- Id of the function definition the version belongs to.GetFunctionDefinitionVersionResponse.Builder version(String version)
version
- Version of the function definition version.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.