Class PythonGrader.Builder
-
- All Implemented Interfaces:
public final class PythonGrader.Builder
A builder for PythonGrader.
-
-
Method Summary
-
-
Method Detail
-
name
final PythonGrader.Builder name(String name)
The name of the grader.
-
name
final PythonGrader.Builder name(JsonField<String> name)
Sets Builder.name to an arbitrary JSON value.
You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
source
final PythonGrader.Builder source(String source)
The source code of the python script.
-
source
final PythonGrader.Builder source(JsonField<String> source)
Sets Builder.source to an arbitrary JSON value.
You should usually call Builder.source with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final PythonGrader.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("python")
This method is primarily for setting the field to an undocumented or not yet supported value.
-
imageTag
final PythonGrader.Builder imageTag(String imageTag)
The image tag to use for the python script.
-
imageTag
final PythonGrader.Builder imageTag(JsonField<String> imageTag)
Sets Builder.imageTag to an arbitrary JSON value.
You should usually call Builder.imageTag with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final PythonGrader.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final PythonGrader.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final PythonGrader.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final PythonGrader.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final PythonGrader.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final PythonGrader build()
Returns an immutable instance of PythonGrader.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.name() .source()
-
-
-
-