@Generated(value="software.amazon.awssdk:codegen") public final class AppSyncRuntime extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AppSyncRuntime.Builder,AppSyncRuntime>
Describes a runtime used by an Amazon Web Services AppSync pipeline resolver or Amazon Web Services AppSync function. Specifies the name and version of the runtime to use. Note that if a runtime is specified, code must also be specified.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AppSyncRuntime.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AppSyncRuntime.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
RuntimeName |
name()
The
name of the runtime to use. |
String |
nameAsString()
The
name of the runtime to use. |
String |
runtimeVersion()
The
version of the runtime to use. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends AppSyncRuntime.Builder> |
serializableBuilderClass() |
AppSyncRuntime.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final RuntimeName name()
The name of the runtime to use. Currently, the only allowed value is APPSYNC_JS.
If the service returns an enum value that is not available in the current SDK version, name will return
RuntimeName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
nameAsString().
name of the runtime to use. Currently, the only allowed value is APPSYNC_JS
.RuntimeNamepublic final String nameAsString()
The name of the runtime to use. Currently, the only allowed value is APPSYNC_JS.
If the service returns an enum value that is not available in the current SDK version, name will return
RuntimeName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
nameAsString().
name of the runtime to use. Currently, the only allowed value is APPSYNC_JS
.RuntimeNamepublic final String runtimeVersion()
The version of the runtime to use. Currently, the only allowed version is 1.0.0.
version of the runtime to use. Currently, the only allowed version is 1.0.0
.public AppSyncRuntime.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AppSyncRuntime.Builder,AppSyncRuntime>public static AppSyncRuntime.Builder builder()
public static Class<? extends AppSyncRuntime.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.