Interface DataSourceScope.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DataSourceScope.Builder,,DataSourceScope> SdkBuilder<DataSourceScope.Builder,,DataSourceScope> SdkPojo
- Enclosing class:
DataSourceScope
@Mutable
@NotThreadSafe
public static interface DataSourceScope.Builder
extends SdkPojo, CopyableBuilder<DataSourceScope.Builder,DataSourceScope>
-
Method Summary
Modifier and TypeMethodDescriptionselectors(Collection<ResourceSelector> selectors) The selectors describing which parts of the data source are in scope.selectors(Consumer<ResourceSelector.Builder>... selectors) The selectors describing which parts of the data source are in scope.selectors(ResourceSelector... selectors) The selectors describing which parts of the data source are in scope.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
selectors
The selectors describing which parts of the data source are in scope.
- Parameters:
selectors- The selectors describing which parts of the data source are in scope.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selectors
The selectors describing which parts of the data source are in scope.
- Parameters:
selectors- The selectors describing which parts of the data source are in scope.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selectors
The selectors describing which parts of the data source are in scope.
This is a convenience method that creates an instance of theResourceSelector.Builderavoiding the need to create one manually viaResourceSelector.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toselectors(List<ResourceSelector>).- Parameters:
selectors- a consumer that will call methods onResourceSelector.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-