Interface DataSourceDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DataSourceDetails.Builder,,DataSourceDetails> SdkBuilder<DataSourceDetails.Builder,,DataSourceDetails> SdkPojo
- Enclosing class:
DataSourceDetails
@Mutable
@NotThreadSafe
public static interface DataSourceDetails.Builder
extends SdkPojo, CopyableBuilder<DataSourceDetails.Builder,DataSourceDetails>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DataSourceDetails.BuilderdataSourceType(Consumer<DataSourceType.Builder> dataSourceType) The type of data source.dataSourceType(DataSourceType dataSourceType) The type of data source.description(String description) A description of the data source.The name of the data source.The status of the data source.status(DataSourceStatus status) The status of the data source.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
-
dataSourceType
The type of data source.
- Parameters:
dataSourceType- The type of data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSourceType
The type of data source.
This is a convenience method that creates an instance of theDataSourceType.Builderavoiding the need to create one manually viaDataSourceType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todataSourceType(DataSourceType).- Parameters:
dataSourceType- a consumer that will call methods onDataSourceType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
The name of the data source.
- Parameters:
name- The name of the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the data source.
- Parameters:
description- A description of the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the data source.
- Parameters:
status- The status of the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the data source.
- Parameters:
status- The status of the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-