Interface FunctionMetadata.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<FunctionMetadata.Builder,FunctionMetadata>
,SdkBuilder<FunctionMetadata.Builder,FunctionMetadata>
,SdkPojo
- Enclosing class:
- FunctionMetadata
public static interface FunctionMetadata.Builder extends SdkPojo, CopyableBuilder<FunctionMetadata.Builder,FunctionMetadata>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FunctionMetadata.Builder
createdTime(Instant createdTime)
The date and time when the function was created.FunctionMetadata.Builder
functionARN(String functionARN)
The Amazon Resource Name (ARN) of the function.FunctionMetadata.Builder
lastModifiedTime(Instant lastModifiedTime)
The date and time when the function was most recently updated.FunctionMetadata.Builder
stage(String stage)
The stage that the function is in, eitherDEVELOPMENT
orLIVE
.FunctionMetadata.Builder
stage(FunctionStage stage)
The stage that the function is in, eitherDEVELOPMENT
orLIVE
.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
functionARN
FunctionMetadata.Builder functionARN(String functionARN)
The Amazon Resource Name (ARN) of the function. The ARN uniquely identifies the function.
- Parameters:
functionARN
- The Amazon Resource Name (ARN) of the function. The ARN uniquely identifies the function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stage
FunctionMetadata.Builder stage(String stage)
The stage that the function is in, either
DEVELOPMENT
orLIVE
.When a function is in the
DEVELOPMENT
stage, you can test the function withTestFunction
, and update it withUpdateFunction
.When a function is in the
LIVE
stage, you can attach the function to a distribution's cache behavior, using the function's ARN.- Parameters:
stage
- The stage that the function is in, eitherDEVELOPMENT
orLIVE
.When a function is in the
DEVELOPMENT
stage, you can test the function withTestFunction
, and update it withUpdateFunction
.When a function is in the
LIVE
stage, you can attach the function to a distribution's cache behavior, using the function's ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FunctionStage
,FunctionStage
-
stage
FunctionMetadata.Builder stage(FunctionStage stage)
The stage that the function is in, either
DEVELOPMENT
orLIVE
.When a function is in the
DEVELOPMENT
stage, you can test the function withTestFunction
, and update it withUpdateFunction
.When a function is in the
LIVE
stage, you can attach the function to a distribution's cache behavior, using the function's ARN.- Parameters:
stage
- The stage that the function is in, eitherDEVELOPMENT
orLIVE
.When a function is in the
DEVELOPMENT
stage, you can test the function withTestFunction
, and update it withUpdateFunction
.When a function is in the
LIVE
stage, you can attach the function to a distribution's cache behavior, using the function's ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FunctionStage
,FunctionStage
-
createdTime
FunctionMetadata.Builder createdTime(Instant createdTime)
The date and time when the function was created.
- Parameters:
createdTime
- The date and time when the function was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
FunctionMetadata.Builder lastModifiedTime(Instant lastModifiedTime)
The date and time when the function was most recently updated.
- Parameters:
lastModifiedTime
- The date and time when the function was most recently updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-