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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default TaggedDatabase.Builderdatabase(Consumer<DatabaseResource.Builder> database)A database that has LF-tags attached to it.TaggedDatabase.Builderdatabase(DatabaseResource database)A database that has LF-tags attached to it.TaggedDatabase.BuilderlfTags(Collection<LFTagPair> lfTags)A list of LF-tags attached to the database.TaggedDatabase.BuilderlfTags(Consumer<LFTagPair.Builder>... lfTags)A list of LF-tags attached to the database.TaggedDatabase.BuilderlfTags(LFTagPair... lfTags)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 Detail
-
database
TaggedDatabase.Builder database(DatabaseResource 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
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.Builderavoiding the need to create one manually viaDatabaseResource.builder().When the
Consumercompletes,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:
database(DatabaseResource)
-
lfTags
TaggedDatabase.Builder lfTags(Collection<LFTagPair> 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
TaggedDatabase.Builder lfTags(LFTagPair... 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
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.Builderavoiding the need to create one manually viaLFTagPair.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#lfTags(List.) - 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:
#lfTags(java.util.Collection)
-
-