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.BuilderredshiftDatabase(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaRedshiftDatabase.builder().When the
Consumercompletes,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
Verboseis true in GetDataSourceInput.- Parameters:
selectSqlQuery- The SQL query that is specified during CreateDataSourceFromRedshift. Returns only ifVerboseis true in GetDataSourceInput.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-