public static interface TaggedDatabase.Builder extends SdkPojo, CopyableBuilder<TaggedDatabase.Builder,TaggedDatabase>
| Modifier and Type | Method and Description |
|---|---|
default TaggedDatabase.Builder |
database(Consumer<DatabaseResource.Builder> database)
A database that has LF-tags attached to it.
|
TaggedDatabase.Builder |
database(DatabaseResource database)
A database that has LF-tags attached to it.
|
TaggedDatabase.Builder |
lfTags(Collection<LFTagPair> lfTags)
A list of LF-tags attached to the database.
|
TaggedDatabase.Builder |
lfTags(Consumer<LFTagPair.Builder>... lfTags)
A list of LF-tags attached to the database.
|
TaggedDatabase.Builder |
lfTags(LFTagPair... lfTags)
A list of LF-tags attached to the database.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildTaggedDatabase.Builder database(DatabaseResource database)
A database that has LF-tags attached to it.
database - A database that has LF-tags attached to it.default TaggedDatabase.Builder database(Consumer<DatabaseResource.Builder> database)
A database that has LF-tags attached to it.
This is a convenience method that creates an instance of theDatabaseResource.Builder avoiding the
need to create one manually via DatabaseResource.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to database(DatabaseResource).
database - a consumer that will call methods on DatabaseResource.Builderdatabase(DatabaseResource)TaggedDatabase.Builder lfTags(Collection<LFTagPair> lfTags)
A list of LF-tags attached to the database.
lfTags - A list of LF-tags attached to the database.TaggedDatabase.Builder lfTags(LFTagPair... lfTags)
A list of LF-tags attached to the database.
lfTags - A list of LF-tags attached to the database.TaggedDatabase.Builder lfTags(Consumer<LFTagPair.Builder>... lfTags)
A list of LF-tags attached to the database.
This is a convenience method that creates an instance of theLFTagPair.Builder avoiding the need to create one
manually via LFTagPair.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #lfTags(List.
lfTags - a consumer that will call methods on
LFTagPair.Builder#lfTags(java.util.Collection) Copyright © 2023. All rights reserved.