Interface GetFunctionDefinitionVersionResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetFunctionDefinitionVersionResponse.Builder,GetFunctionDefinitionVersionResponse>,GreengrassResponse.Builder,SdkBuilder<GetFunctionDefinitionVersionResponse.Builder,GetFunctionDefinitionVersionResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetFunctionDefinitionVersionResponse
public static interface GetFunctionDefinitionVersionResponse.Builder extends GreengrassResponse.Builder, SdkPojo, CopyableBuilder<GetFunctionDefinitionVersionResponse.Builder,GetFunctionDefinitionVersionResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetFunctionDefinitionVersionResponse.Builderarn(String arn)The ARN of the function definition version.GetFunctionDefinitionVersionResponse.BuildercreationTimestamp(String creationTimestamp)The time, in milliseconds since the epoch, when the function definition version was created.default GetFunctionDefinitionVersionResponse.Builderdefinition(Consumer<FunctionDefinitionVersion.Builder> definition)Information on the definition.GetFunctionDefinitionVersionResponse.Builderdefinition(FunctionDefinitionVersion definition)Information on the definition.GetFunctionDefinitionVersionResponse.Builderid(String id)The ID of the function definition version.GetFunctionDefinitionVersionResponse.BuildernextToken(String nextToken)The token for the next set of results, or ''null'' if there are no additional results.GetFunctionDefinitionVersionResponse.Builderversion(String version)The version of the function 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 Detail
-
arn
GetFunctionDefinitionVersionResponse.Builder arn(String arn)
The ARN of the function definition version.- Parameters:
arn- The ARN of the function definition version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTimestamp
GetFunctionDefinitionVersionResponse.Builder creationTimestamp(String creationTimestamp)
The time, in milliseconds since the epoch, when the function definition version was created.- Parameters:
creationTimestamp- The time, in milliseconds since the epoch, when the function definition version was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definition
GetFunctionDefinitionVersionResponse.Builder definition(FunctionDefinitionVersion definition)
Information on the definition.- Parameters:
definition- Information on the definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definition
default GetFunctionDefinitionVersionResponse.Builder definition(Consumer<FunctionDefinitionVersion.Builder> definition)
Information on the definition. This is a convenience method that creates an instance of theFunctionDefinitionVersion.Builderavoiding the need to create one manually viaFunctionDefinitionVersion.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todefinition(FunctionDefinitionVersion).- Parameters:
definition- a consumer that will call methods onFunctionDefinitionVersion.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
definition(FunctionDefinitionVersion)
-
id
GetFunctionDefinitionVersionResponse.Builder id(String id)
The ID of the function definition version.- Parameters:
id- The ID of the function definition version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
GetFunctionDefinitionVersionResponse.Builder nextToken(String 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
GetFunctionDefinitionVersionResponse.Builder version(String version)
The version of the function definition version.- Parameters:
version- The version of the function definition version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-