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.BuildercreatedTime(Instant createdTime)The date and time when the function was created.FunctionMetadata.BuilderfunctionARN(String functionARN)The Amazon Resource Name (ARN) of the function.FunctionMetadata.BuilderlastModifiedTime(Instant lastModifiedTime)The date and time when the function was most recently updated.FunctionMetadata.Builderstage(String stage)The stage that the function is in, eitherDEVELOPMENTorLIVE.FunctionMetadata.Builderstage(FunctionStage stage)The stage that the function is in, eitherDEVELOPMENTorLIVE.-
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, sdkFieldNameToField, 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
DEVELOPMENTorLIVE.When a function is in the
DEVELOPMENTstage, you can test the function withTestFunction, and update it withUpdateFunction.When a function is in the
LIVEstage, 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, eitherDEVELOPMENTorLIVE.When a function is in the
DEVELOPMENTstage, you can test the function withTestFunction, and update it withUpdateFunction.When a function is in the
LIVEstage, 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
DEVELOPMENTorLIVE.When a function is in the
DEVELOPMENTstage, you can test the function withTestFunction, and update it withUpdateFunction.When a function is in the
LIVEstage, 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, eitherDEVELOPMENTorLIVE.When a function is in the
DEVELOPMENTstage, you can test the function withTestFunction, and update it withUpdateFunction.When a function is in the
LIVEstage, 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.
-
-