Class RedshiftStorage
- java.lang.Object
-
- software.amazon.awssdk.services.datazone.model.RedshiftStorage
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RedshiftStorage.Builder,RedshiftStorage>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRedshiftStorage.Builderstatic classRedshiftStorage.Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RedshiftStorage.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)static RedshiftStoragefromRedshiftClusterSource(Consumer<RedshiftClusterStorage.Builder> redshiftClusterSource)Create an instance of this class withredshiftClusterSource()initialized to the given value.static RedshiftStoragefromRedshiftClusterSource(RedshiftClusterStorage redshiftClusterSource)Create an instance of this class withredshiftClusterSource()initialized to the given value.static RedshiftStoragefromRedshiftServerlessSource(Consumer<RedshiftServerlessStorage.Builder> redshiftServerlessSource)Create an instance of this class withredshiftServerlessSource()initialized to the given value.static RedshiftStoragefromRedshiftServerlessSource(RedshiftServerlessStorage redshiftServerlessSource)Create an instance of this class withredshiftServerlessSource()initialized to the given value.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()RedshiftClusterStorageredshiftClusterSource()The details of the Amazon Redshift cluster source.RedshiftServerlessStorageredshiftServerlessSource()The details of the Amazon Redshift Serverless workgroup source.List<SdkField<?>>sdkFields()static Class<? extends RedshiftStorage.Builder>serializableBuilderClass()RedshiftStorage.BuildertoBuilder()StringtoString()Returns a string representation of this object.RedshiftStorage.Typetype()Retrieve an enum value representing which member of this object is populated.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
redshiftClusterSource
public final RedshiftClusterStorage redshiftClusterSource()
The details of the Amazon Redshift cluster source.
- Returns:
- The details of the Amazon Redshift cluster source.
-
redshiftServerlessSource
public final RedshiftServerlessStorage redshiftServerlessSource()
The details of the Amazon Redshift Serverless workgroup source.
- Returns:
- The details of the Amazon Redshift Serverless workgroup source.
-
toBuilder
public RedshiftStorage.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RedshiftStorage.Builder,RedshiftStorage>
-
builder
public static RedshiftStorage.Builder builder()
-
serializableBuilderClass
public static Class<? extends RedshiftStorage.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
fromRedshiftClusterSource
public static RedshiftStorage fromRedshiftClusterSource(RedshiftClusterStorage redshiftClusterSource)
Create an instance of this class withredshiftClusterSource()initialized to the given value.The details of the Amazon Redshift cluster source.
- Parameters:
redshiftClusterSource- The details of the Amazon Redshift cluster source.
-
fromRedshiftClusterSource
public static RedshiftStorage fromRedshiftClusterSource(Consumer<RedshiftClusterStorage.Builder> redshiftClusterSource)
Create an instance of this class withredshiftClusterSource()initialized to the given value.The details of the Amazon Redshift cluster source.
- Parameters:
redshiftClusterSource- The details of the Amazon Redshift cluster source.
-
fromRedshiftServerlessSource
public static RedshiftStorage fromRedshiftServerlessSource(RedshiftServerlessStorage redshiftServerlessSource)
Create an instance of this class withredshiftServerlessSource()initialized to the given value.The details of the Amazon Redshift Serverless workgroup source.
- Parameters:
redshiftServerlessSource- The details of the Amazon Redshift Serverless workgroup source.
-
fromRedshiftServerlessSource
public static RedshiftStorage fromRedshiftServerlessSource(Consumer<RedshiftServerlessStorage.Builder> redshiftServerlessSource)
Create an instance of this class withredshiftServerlessSource()initialized to the given value.The details of the Amazon Redshift Serverless workgroup source.
- Parameters:
redshiftServerlessSource- The details of the Amazon Redshift Serverless workgroup source.
-
type
public RedshiftStorage.Type type()
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will beRedshiftStorage.Type.UNKNOWN_TO_SDK_VERSIONif 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 beRedshiftStorage.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set.
-
-