@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AppSyncRuntime extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
AppSyncRuntime() |
Modifier and Type | Method and Description |
---|---|
AppSyncRuntime |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The
name of the runtime to use. |
String |
getRuntimeVersion()
The
version of the runtime to use. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The
name of the runtime to use. |
void |
setRuntimeVersion(String runtimeVersion)
The
version of the runtime to use. |
String |
toString()
Returns a string representation of this object.
|
AppSyncRuntime |
withName(RuntimeName name)
The
name of the runtime to use. |
AppSyncRuntime |
withName(String name)
The
name of the runtime to use. |
AppSyncRuntime |
withRuntimeVersion(String runtimeVersion)
The
version of the runtime to use. |
public void setName(String name)
The name
of the runtime to use. Currently, the only allowed value is APPSYNC_JS
.
name
- The name
of the runtime to use. Currently, the only allowed value is APPSYNC_JS
.RuntimeName
public String getName()
The name
of the runtime to use. Currently, the only allowed value is APPSYNC_JS
.
name
of the runtime to use. Currently, the only allowed value is APPSYNC_JS
.RuntimeName
public AppSyncRuntime withName(String name)
The name
of the runtime to use. Currently, the only allowed value is APPSYNC_JS
.
name
- The name
of the runtime to use. Currently, the only allowed value is APPSYNC_JS
.RuntimeName
public AppSyncRuntime withName(RuntimeName name)
The name
of the runtime to use. Currently, the only allowed value is APPSYNC_JS
.
name
- The name
of the runtime to use. Currently, the only allowed value is APPSYNC_JS
.RuntimeName
public void setRuntimeVersion(String runtimeVersion)
The version
of the runtime to use. Currently, the only allowed version is 1.0.0
.
runtimeVersion
- The version
of the runtime to use. Currently, the only allowed version is 1.0.0
.public String getRuntimeVersion()
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 withRuntimeVersion(String runtimeVersion)
The version
of the runtime to use. Currently, the only allowed version is 1.0.0
.
runtimeVersion
- The version
of the runtime to use. Currently, the only allowed version is 1.0.0
.public String toString()
toString
in class Object
Object.toString()
public AppSyncRuntime clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.