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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description RedshiftMetadata.BuilderdatabaseUserName(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.RedshiftMetadata.BuilderredshiftDatabase(RedshiftDatabase redshiftDatabase)Sets the value of the RedshiftDatabase property for this object.RedshiftMetadata.BuilderselectSqlQuery(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 Detail
-
redshiftDatabase
RedshiftMetadata.Builder redshiftDatabase(RedshiftDatabase 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:
redshiftDatabase(RedshiftDatabase)
-
databaseUserName
RedshiftMetadata.Builder databaseUserName(String 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
RedshiftMetadata.Builder selectSqlQuery(String 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.
-
-