Interface GetDataSourceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetDataSourceResponse.Builder,,GetDataSourceResponse> OpenSearchResponse.Builder,SdkBuilder<GetDataSourceResponse.Builder,,GetDataSourceResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetDataSourceResponse
public static interface GetDataSourceResponse.Builder
extends OpenSearchResponse.Builder, SdkPojo, CopyableBuilder<GetDataSourceResponse.Builder,GetDataSourceResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetDataSourceResponse.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.services.opensearch.model.OpenSearchResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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
default GetDataSourceResponse.Builder dataSourceType(Consumer<DataSourceType.Builder> 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:
-