@Generated(value="software.amazon.awssdk:codegen") public final class FunctionConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FunctionConfig.Builder,FunctionConfig>
Contains configuration information about a CloudFront function.
| Modifier and Type | Class and Description |
|---|---|
static interface |
FunctionConfig.Builder |
| Modifier and Type | Method and Description |
|---|---|
static FunctionConfig.Builder |
builder() |
String |
comment()
A comment to describe the function.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
FunctionRuntime |
runtime()
The function’s runtime environment.
|
String |
runtimeAsString()
The function’s runtime environment.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends FunctionConfig.Builder> |
serializableBuilderClass() |
FunctionConfig.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String comment()
A comment to describe the function.
public final FunctionRuntime runtime()
The function’s runtime environment. The only valid value is cloudfront-js-1.0.
If the service returns an enum value that is not available in the current SDK version, runtime will
return FunctionRuntime.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
runtimeAsString().
cloudfront-js-1.0.FunctionRuntimepublic final String runtimeAsString()
The function’s runtime environment. The only valid value is cloudfront-js-1.0.
If the service returns an enum value that is not available in the current SDK version, runtime will
return FunctionRuntime.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
runtimeAsString().
cloudfront-js-1.0.FunctionRuntimepublic FunctionConfig.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<FunctionConfig.Builder,FunctionConfig>public static FunctionConfig.Builder builder()
public static Class<? extends FunctionConfig.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.