Interface RedshiftMetadata.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RedshiftMetadata.Builder,
,RedshiftMetadata> SdkBuilder<RedshiftMetadata.Builder,
,RedshiftMetadata> SdkPojo
- Enclosing class:
RedshiftMetadata
public static interface RedshiftMetadata.Builder
extends SdkPojo, CopyableBuilder<RedshiftMetadata.Builder,RedshiftMetadata>
-
Method Summary
Modifier and TypeMethodDescriptiondatabaseUserName
(String databaseUserName) Sets the value of the DatabaseUserName property for this object.default RedshiftMetadata.Builder
redshiftDatabase
(Consumer<RedshiftDatabase.Builder> redshiftDatabase) Sets the value of the RedshiftDatabase property for this object.redshiftDatabase
(RedshiftDatabase redshiftDatabase) Sets the value of the RedshiftDatabase property for this object.selectSqlQuery
(String selectSqlQuery) The SQL query that is specified during CreateDataSourceFromRedshift.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 Details
-
redshiftDatabase
Sets the value of the RedshiftDatabase property for this object.- Parameters:
redshiftDatabase
- The new value for the RedshiftDatabase property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
redshiftDatabase
default RedshiftMetadata.Builder redshiftDatabase(Consumer<RedshiftDatabase.Builder> redshiftDatabase) Sets the value of the RedshiftDatabase property for this object. This is a convenience method that creates an instance of theRedshiftDatabase.Builder
avoiding the need to create one manually viaRedshiftDatabase.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toredshiftDatabase(RedshiftDatabase)
.- Parameters:
redshiftDatabase
- a consumer that will call methods onRedshiftDatabase.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
databaseUserName
Sets the value of the DatabaseUserName property for this object.- Parameters:
databaseUserName
- The new value for the DatabaseUserName property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selectSqlQuery
The SQL query that is specified during CreateDataSourceFromRedshift. Returns only if
Verbose
is true in GetDataSourceInput.- Parameters:
selectSqlQuery
- The SQL query that is specified during CreateDataSourceFromRedshift. Returns only ifVerbose
is true in GetDataSourceInput.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-