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.Builder
dataSourceType
(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
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods 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.Builder
avoiding the need to create one manually viaDataSourceType.builder()
.When the
Consumer
completes,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:
-