Class AppSyncRuntime
- java.lang.Object
-
- software.amazon.awssdk.services.appsync.model.AppSyncRuntime
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AppSyncRuntime.Builder,AppSyncRuntime>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAppSyncRuntime.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AppSyncRuntime.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()RuntimeNamename()Thenameof the runtime to use.StringnameAsString()Thenameof the runtime to use.StringruntimeVersion()Theversionof the runtime to use.List<SdkField<?>>sdkFields()static Class<? extends AppSyncRuntime.Builder>serializableBuilderClass()AppSyncRuntime.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
name
public final RuntimeName name()
The
nameof the runtime to use. Currently, the only allowed value isAPPSYNC_JS.If the service returns an enum value that is not available in the current SDK version,
namewill returnRuntimeName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnameAsString().- Returns:
- The
nameof the runtime to use. Currently, the only allowed value isAPPSYNC_JS. - See Also:
RuntimeName
-
nameAsString
public final String nameAsString()
The
nameof the runtime to use. Currently, the only allowed value isAPPSYNC_JS.If the service returns an enum value that is not available in the current SDK version,
namewill returnRuntimeName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnameAsString().- Returns:
- The
nameof the runtime to use. Currently, the only allowed value isAPPSYNC_JS. - See Also:
RuntimeName
-
runtimeVersion
public final String runtimeVersion()
The
versionof the runtime to use. Currently, the only allowed version is1.0.0.- Returns:
- The
versionof the runtime to use. Currently, the only allowed version is1.0.0.
-
toBuilder
public AppSyncRuntime.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AppSyncRuntime.Builder,AppSyncRuntime>
-
builder
public static AppSyncRuntime.Builder builder()
-
serializableBuilderClass
public static Class<? extends AppSyncRuntime.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-