Class FilePathAnnotation.FilePath.Builder
-
- All Implemented Interfaces:
public final class FilePathAnnotation.FilePath.Builder
A builder for FilePath.
-
-
Method Summary
Modifier and Type Method Description final FilePathAnnotation.FilePath.Builder
fileId(String fileId)
The ID of the file that was generated. final FilePathAnnotation.FilePath.Builder
fileId(JsonField<String> fileId)
Sets Builder.fileId to an arbitrary JSON value. final FilePathAnnotation.FilePath.Builder
additionalProperties(Map<String, JsonValue> additionalProperties)
final FilePathAnnotation.FilePath.Builder
putAdditionalProperty(String key, JsonValue value)
final FilePathAnnotation.FilePath.Builder
putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
final FilePathAnnotation.FilePath.Builder
removeAdditionalProperty(String key)
final FilePathAnnotation.FilePath.Builder
removeAllAdditionalProperties(Set<String> keys)
final FilePathAnnotation.FilePath
build()
Returns an immutable instance of FilePath. -
-
Method Detail
-
fileId
final FilePathAnnotation.FilePath.Builder fileId(String fileId)
The ID of the file that was generated.
-
fileId
final FilePathAnnotation.FilePath.Builder fileId(JsonField<String> fileId)
Sets Builder.fileId to an arbitrary JSON value.
You should usually call Builder.fileId 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 FilePathAnnotation.FilePath.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final FilePathAnnotation.FilePath.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final FilePathAnnotation.FilePath.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final FilePathAnnotation.FilePath.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final FilePathAnnotation.FilePath.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final FilePathAnnotation.FilePath build()
Returns an immutable instance of FilePath.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.fileId()
-
-
-
-