@Generated(value="software.amazon.awssdk:codegen") public final class RedshiftStorage extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RedshiftStorage.Builder,RedshiftStorage>
The details of the Amazon Redshift storage as part of the configuration of an Amazon Redshift data source run.
| Modifier and Type | Class and Description |
|---|---|
static interface |
RedshiftStorage.Builder |
static class |
RedshiftStorage.Type |
| Modifier and Type | Method and Description |
|---|---|
static RedshiftStorage.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
static RedshiftStorage |
fromRedshiftClusterSource(Consumer<RedshiftClusterStorage.Builder> redshiftClusterSource)
Create an instance of this class with
redshiftClusterSource() initialized to the given value. |
static RedshiftStorage |
fromRedshiftClusterSource(RedshiftClusterStorage redshiftClusterSource)
Create an instance of this class with
redshiftClusterSource() initialized to the given value. |
static RedshiftStorage |
fromRedshiftServerlessSource(Consumer<RedshiftServerlessStorage.Builder> redshiftServerlessSource)
Create an instance of this class with
redshiftServerlessSource() initialized to the given value. |
static RedshiftStorage |
fromRedshiftServerlessSource(RedshiftServerlessStorage redshiftServerlessSource)
Create an instance of this class with
redshiftServerlessSource() initialized to the given value. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
RedshiftClusterStorage |
redshiftClusterSource()
The details of the Amazon Redshift cluster source.
|
RedshiftServerlessStorage |
redshiftServerlessSource()
The details of the Amazon Redshift Serverless workgroup source.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends RedshiftStorage.Builder> |
serializableBuilderClass() |
RedshiftStorage.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
RedshiftStorage.Type |
type()
Retrieve an enum value representing which member of this object is populated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final RedshiftClusterStorage redshiftClusterSource()
The details of the Amazon Redshift cluster source.
public final RedshiftServerlessStorage redshiftServerlessSource()
The details of the Amazon Redshift Serverless workgroup source.
public RedshiftStorage.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RedshiftStorage.Builder,RedshiftStorage>public static RedshiftStorage.Builder builder()
public static Class<? extends RedshiftStorage.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public static RedshiftStorage fromRedshiftClusterSource(RedshiftClusterStorage redshiftClusterSource)
redshiftClusterSource() initialized to the given value.
The details of the Amazon Redshift cluster source.
redshiftClusterSource - The details of the Amazon Redshift cluster source.public static RedshiftStorage fromRedshiftClusterSource(Consumer<RedshiftClusterStorage.Builder> redshiftClusterSource)
redshiftClusterSource() initialized to the given value.
The details of the Amazon Redshift cluster source.
redshiftClusterSource - The details of the Amazon Redshift cluster source.public static RedshiftStorage fromRedshiftServerlessSource(RedshiftServerlessStorage redshiftServerlessSource)
redshiftServerlessSource() initialized to the given value.
The details of the Amazon Redshift Serverless workgroup source.
redshiftServerlessSource - The details of the Amazon Redshift Serverless workgroup source.public static RedshiftStorage fromRedshiftServerlessSource(Consumer<RedshiftServerlessStorage.Builder> redshiftServerlessSource)
redshiftServerlessSource() initialized to the given value.
The details of the Amazon Redshift Serverless workgroup source.
redshiftServerlessSource - The details of the Amazon Redshift Serverless workgroup source.public RedshiftStorage.Type type()
RedshiftStorage.Type.UNKNOWN_TO_SDK_VERSION if the
service returned a member that is only known to a newer SDK version.
When this class is created directly in your code, this will be RedshiftStorage.Type.UNKNOWN_TO_SDK_VERSION if zero
members are set, and null if more than one member is set.Copyright © 2023. All rights reserved.