Class RedshiftStorageProperties
- java.lang.Object
-
- software.amazon.awssdk.services.datazone.model.RedshiftStorageProperties
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RedshiftStorageProperties.Builder,RedshiftStorageProperties>
@Generated("software.amazon.awssdk:codegen") public final class RedshiftStorageProperties extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RedshiftStorageProperties.Builder,RedshiftStorageProperties>
The Amazon Redshift storage properties.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRedshiftStorageProperties.Builderstatic classRedshiftStorageProperties.Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RedshiftStorageProperties.Builderbuilder()StringclusterName()The cluster name in the Amazon Redshift storage properties.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)static RedshiftStoragePropertiesfromClusterName(String clusterName)Create an instance of this class withclusterName()initialized to the given value.static RedshiftStoragePropertiesfromWorkgroupName(String workgroupName)Create an instance of this class withworkgroupName()initialized to the given value.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends RedshiftStorageProperties.Builder>serializableBuilderClass()RedshiftStorageProperties.BuildertoBuilder()StringtoString()Returns a string representation of this object.RedshiftStorageProperties.Typetype()Retrieve an enum value representing which member of this object is populated.StringworkgroupName()The workgroup name in the Amazon Redshift storage properties.-
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
-
clusterName
public final String clusterName()
The cluster name in the Amazon Redshift storage properties.
- Returns:
- The cluster name in the Amazon Redshift storage properties.
-
workgroupName
public final String workgroupName()
The workgroup name in the Amazon Redshift storage properties.
- Returns:
- The workgroup name in the Amazon Redshift storage properties.
-
toBuilder
public RedshiftStorageProperties.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RedshiftStorageProperties.Builder,RedshiftStorageProperties>
-
builder
public static RedshiftStorageProperties.Builder builder()
-
serializableBuilderClass
public static Class<? extends RedshiftStorageProperties.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.
-
fromClusterName
public static RedshiftStorageProperties fromClusterName(String clusterName)
Create an instance of this class withclusterName()initialized to the given value.The cluster name in the Amazon Redshift storage properties.
- Parameters:
clusterName- The cluster name in the Amazon Redshift storage properties.
-
fromWorkgroupName
public static RedshiftStorageProperties fromWorkgroupName(String workgroupName)
Create an instance of this class withworkgroupName()initialized to the given value.The workgroup name in the Amazon Redshift storage properties.
- Parameters:
workgroupName- The workgroup name in the Amazon Redshift storage properties.
-
type
public RedshiftStorageProperties.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 beRedshiftStorageProperties.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 beRedshiftStorageProperties.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-