Class WarehouseDestinationSetupScriptRep


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2026-06-30T13:33:45.929090Z[Etc/UTC]",
               comments="Generator version: 7.18.0")
    public class WarehouseDestinationSetupScriptRep
    extends java.lang.Object
    WarehouseDestinationSetupScriptRep
    • Field Detail

      • SERIALIZED_NAME_SCRIPT

        public static final java.lang.String SERIALIZED_NAME_SCRIPT
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_PUBLIC_KEY

        public static final java.lang.String SERIALIZED_NAME_PUBLIC_KEY
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_PUBLIC_KEY_PKCS8

        public static final java.lang.String SERIALIZED_NAME_PUBLIC_KEY_PKCS8
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_REDSHIFT_I_A_M_PERMISSIONS_POLICY

        public static final java.lang.String SERIALIZED_NAME_REDSHIFT_I_A_M_PERMISSIONS_POLICY
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_REDSHIFT_I_A_M_TRUST_POLICY

        public static final java.lang.String SERIALIZED_NAME_REDSHIFT_I_A_M_TRUST_POLICY
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_S3_BUCKET_NAME

        public static final java.lang.String SERIALIZED_NAME_S3_BUCKET_NAME
        See Also:
        Constant Field Values
      • openapiFields

        public static java.util.HashSet<java.lang.String> openapiFields
      • openapiRequiredFields

        public static java.util.HashSet<java.lang.String> openapiRequiredFields
    • Constructor Detail

      • WarehouseDestinationSetupScriptRep

        public WarehouseDestinationSetupScriptRep()
    • Method Detail

      • getScript

        @Nullable
        public java.lang.String getScript()
        The SQL setup script to run in your data warehouse
        Returns:
        script
      • setScript

        public void setScript​(@Nullable
                              java.lang.String script)
      • getPublicKey

        @Nullable
        public java.lang.String getPublicKey()
        The RSA public key (Snowflake only) to store as the destination public_key
        Returns:
        publicKey
      • setPublicKey

        public void setPublicKey​(@Nullable
                                 java.lang.String publicKey)
      • getPublicKeyPkcs8

        @Nullable
        public java.lang.String getPublicKeyPkcs8()
        The PKCS8 RSA public key (Snowflake only)
        Returns:
        publicKeyPkcs8
      • setPublicKeyPkcs8

        public void setPublicKeyPkcs8​(@Nullable
                                      java.lang.String publicKeyPkcs8)
      • getRedshiftIAMPermissionsPolicy

        @Nullable
        public java.lang.String getRedshiftIAMPermissionsPolicy()
        For Redshift, present only when clusterIdentifier, clusterRegion, and clusterAwsAccountId are supplied in the request body.
        Returns:
        redshiftIAMPermissionsPolicy
      • setRedshiftIAMPermissionsPolicy

        public void setRedshiftIAMPermissionsPolicy​(@Nullable
                                                    java.lang.String redshiftIAMPermissionsPolicy)
      • getRedshiftIAMTrustPolicy

        @Nullable
        public java.lang.String getRedshiftIAMTrustPolicy()
        For Redshift, present only when clusterIdentifier, clusterRegion, and clusterAwsAccountId are supplied in the request body.
        Returns:
        redshiftIAMTrustPolicy
      • setRedshiftIAMTrustPolicy

        public void setRedshiftIAMTrustPolicy​(@Nullable
                                              java.lang.String redshiftIAMTrustPolicy)
      • getS3BucketName

        @Nullable
        public java.lang.String getS3BucketName()
        The auto-generated S3 staging bucket name (ClickHouse and Redshift)
        Returns:
        s3BucketName
      • setS3BucketName

        public void setS3BucketName​(@Nullable
                                    java.lang.String s3BucketName)
      • putAdditionalProperty

        public WarehouseDestinationSetupScriptRep putAdditionalProperty​(java.lang.String key,
                                                                        java.lang.Object value)
        Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
        Parameters:
        key - name of the property
        value - value of the property
        Returns:
        the WarehouseDestinationSetupScriptRep instance itself
      • getAdditionalProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()
        Return the additional (undeclared) property.
        Returns:
        a map of objects
      • getAdditionalProperty

        public java.lang.Object getAdditionalProperty​(java.lang.String key)
        Return the additional (undeclared) property with the specified name.
        Parameters:
        key - name of the property
        Returns:
        an object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • validateJsonElement

        public static void validateJsonElement​(com.google.gson.JsonElement jsonElement)
                                        throws java.io.IOException
        Validates the JSON Element and throws an exception if issues found
        Parameters:
        jsonElement - JSON Element
        Throws:
        java.io.IOException - if the JSON Element is invalid with respect to WarehouseDestinationSetupScriptRep
      • fromJson

        public static WarehouseDestinationSetupScriptRep fromJson​(java.lang.String jsonString)
                                                           throws java.io.IOException
        Create an instance of WarehouseDestinationSetupScriptRep given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of WarehouseDestinationSetupScriptRep
        Throws:
        java.io.IOException - if the JSON string is invalid with respect to WarehouseDestinationSetupScriptRep
      • toJson

        public java.lang.String toJson()
        Convert an instance of WarehouseDestinationSetupScriptRep to an JSON string
        Returns:
        JSON string