Class Folder.Builder
-
- All Implemented Interfaces:
public final class Folder.BuilderA builder for Folder.
-
-
Method Summary
Modifier and Type Method Description final Folder.BuildercreatedAt(OffsetDateTime createdAt)Date and time when the folder was created. final Folder.BuildercreatedAt(JsonField<OffsetDateTime> createdAt)Sets Builder.createdAt to an arbitrary JSON value. final Folder.BuildercustomMetadata(Folder.CustomMetadata customMetadata)An object with custom metadata for the folder. final Folder.BuildercustomMetadata(JsonField<Folder.CustomMetadata> customMetadata)Sets Builder.customMetadata to an arbitrary JSON value. final Folder.BuilderfolderId(String folderId)Unique identifier of the asset. final Folder.BuilderfolderId(JsonField<String> folderId)Sets Builder.folderId to an arbitrary JSON value. final Folder.BuilderfolderPath(String folderPath)Path of the folder. final Folder.BuilderfolderPath(JsonField<String> folderPath)Sets Builder.folderPath to an arbitrary JSON value. final Folder.Buildername(String name)Name of the asset. final Folder.Buildername(JsonField<String> name)Sets Builder.name to an arbitrary JSON value. final Folder.Buildertype(Folder.Type type)Type of the asset. final Folder.Buildertype(JsonField<Folder.Type> type)Sets Builder.type to an arbitrary JSON value. final Folder.BuilderupdatedAt(OffsetDateTime updatedAt)Date and time when the folder was last updated. final Folder.BuilderupdatedAt(JsonField<OffsetDateTime> updatedAt)Sets Builder.updatedAt to an arbitrary JSON value. final Folder.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final Folder.BuilderputAdditionalProperty(String key, JsonValue value)final Folder.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final Folder.BuilderremoveAdditionalProperty(String key)final Folder.BuilderremoveAllAdditionalProperties(Set<String> keys)final Folderbuild()Returns an immutable instance of Folder. -
-
Method Detail
-
createdAt
final Folder.Builder createdAt(OffsetDateTime createdAt)
Date and time when the folder was created. The date and time is in ISO8601 format.
-
createdAt
final Folder.Builder createdAt(JsonField<OffsetDateTime> createdAt)
Sets Builder.createdAt to an arbitrary JSON value.
You should usually call Builder.createdAt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
customMetadata
final Folder.Builder customMetadata(Folder.CustomMetadata customMetadata)
An object with custom metadata for the folder. Returns empty object if no custom metadata is set.
-
customMetadata
final Folder.Builder customMetadata(JsonField<Folder.CustomMetadata> customMetadata)
Sets Builder.customMetadata to an arbitrary JSON value.
You should usually call Builder.customMetadata with a well-typed CustomMetadata value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
folderId
final Folder.Builder folderId(String folderId)
Unique identifier of the asset.
-
folderId
final Folder.Builder folderId(JsonField<String> folderId)
Sets Builder.folderId to an arbitrary JSON value.
You should usually call Builder.folderId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
folderPath
final Folder.Builder folderPath(String folderPath)
Path of the folder. This is the path you would use in the URL to access the folder. For example, if the folder is at the root of the media library, the path will be /folder. If the folder is inside another folder named images, the path will be /images/folder.
-
folderPath
final Folder.Builder folderPath(JsonField<String> folderPath)
Sets Builder.folderPath to an arbitrary JSON value.
You should usually call Builder.folderPath with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
name
final Folder.Builder name(String name)
Name of the asset.
-
name
final Folder.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.
-
type
final Folder.Builder type(Folder.Type type)
Type of the asset.
-
type
final Folder.Builder type(JsonField<Folder.Type> type)
Sets Builder.type to an arbitrary JSON value.
You should usually call Builder.type with a well-typed Type value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
updatedAt
final Folder.Builder updatedAt(OffsetDateTime updatedAt)
Date and time when the folder was last updated. The date and time is in ISO8601 format.
-
updatedAt
final Folder.Builder updatedAt(JsonField<OffsetDateTime> updatedAt)
Sets Builder.updatedAt to an arbitrary JSON value.
You should usually call Builder.updatedAt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final Folder.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final Folder.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final Folder.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final Folder.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final Folder.Builder removeAllAdditionalProperties(Set<String> keys)
-
-
-
-