@Generated(value="software.amazon.awssdk:codegen") public final class FunctionMetadata extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FunctionMetadata.Builder,FunctionMetadata>
Contains metadata about a CloudFront function.
| Modifier and Type | Class and Description |
|---|---|
static interface |
FunctionMetadata.Builder |
| Modifier and Type | Method and Description |
|---|---|
static FunctionMetadata.Builder |
builder() |
Instant |
createdTime()
The date and time when the function was created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
functionARN()
The Amazon Resource Name (ARN) of the function.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastModifiedTime()
The date and time when the function was most recently updated.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends FunctionMetadata.Builder> |
serializableBuilderClass() |
FunctionStage |
stage()
The stage that the function is in, either
DEVELOPMENT or LIVE. |
String |
stageAsString()
The stage that the function is in, either
DEVELOPMENT or LIVE. |
FunctionMetadata.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String functionARN()
The Amazon Resource Name (ARN) of the function. The ARN uniquely identifies the function.
public final FunctionStage stage()
The stage that the function is in, either DEVELOPMENT or LIVE.
When a function is in the DEVELOPMENT stage, you can test the function with
TestFunction, and update it with UpdateFunction.
When a function is in the LIVE stage, you can attach the function to a distribution’s cache
behavior, using the function’s ARN.
If the service returns an enum value that is not available in the current SDK version, stage will return
FunctionStage.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stageAsString().
DEVELOPMENT or LIVE.
When a function is in the DEVELOPMENT stage, you can test the function with
TestFunction, and update it with UpdateFunction.
When a function is in the LIVE stage, you can attach the function to a distribution’s cache
behavior, using the function’s ARN.
FunctionStagepublic final String stageAsString()
The stage that the function is in, either DEVELOPMENT or LIVE.
When a function is in the DEVELOPMENT stage, you can test the function with
TestFunction, and update it with UpdateFunction.
When a function is in the LIVE stage, you can attach the function to a distribution’s cache
behavior, using the function’s ARN.
If the service returns an enum value that is not available in the current SDK version, stage will return
FunctionStage.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stageAsString().
DEVELOPMENT or LIVE.
When a function is in the DEVELOPMENT stage, you can test the function with
TestFunction, and update it with UpdateFunction.
When a function is in the LIVE stage, you can attach the function to a distribution’s cache
behavior, using the function’s ARN.
FunctionStagepublic final Instant createdTime()
The date and time when the function was created.
public final Instant lastModifiedTime()
The date and time when the function was most recently updated.
public FunctionMetadata.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<FunctionMetadata.Builder,FunctionMetadata>public static FunctionMetadata.Builder builder()
public static Class<? extends FunctionMetadata.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.