Interface TaggedDatabase.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TaggedDatabase.Builder,
,TaggedDatabase> SdkBuilder<TaggedDatabase.Builder,
,TaggedDatabase> SdkPojo
- Enclosing class:
TaggedDatabase
public static interface TaggedDatabase.Builder
extends SdkPojo, CopyableBuilder<TaggedDatabase.Builder,TaggedDatabase>
-
Method Summary
Modifier and TypeMethodDescriptiondefault TaggedDatabase.Builder
database
(Consumer<DatabaseResource.Builder> database) A database that has LF-tags attached to it.database
(DatabaseResource database) A database that has LF-tags attached to it.lfTags
(Collection<LFTagPair> lfTags) A list of LF-tags attached to the database.lfTags
(Consumer<LFTagPair.Builder>... lfTags) A list of LF-tags attached to the database.A list of LF-tags attached to the database.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
database
A database that has LF-tags attached to it.
- Parameters:
database
- A database that has LF-tags attached to it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaDatabaseResource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todatabase(DatabaseResource)
.- Parameters:
database
- a consumer that will call methods onDatabaseResource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lfTags
A list of LF-tags attached to the database.
- Parameters:
lfTags
- A list of LF-tags attached to the database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lfTags
A list of LF-tags attached to the database.
- Parameters:
lfTags
- A list of LF-tags attached to the database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaLFTagPair.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolfTags(List<LFTagPair>)
.- Parameters:
lfTags
- a consumer that will call methods onLFTagPair.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-