Class: Azure::DataFactory::Mgmt::V2017_09_01_preview::Models::AmazonRedshiftSource
- Inherits:
-
CopySource
- Object
- CopySource
- Azure::DataFactory::Mgmt::V2017_09_01_preview::Models::AmazonRedshiftSource
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/amazon_redshift_source.rb
Overview
A copy activity source for Amazon Redshift Source.
Instance Attribute Summary collapse
-
#query ⇒ Object
string).
-
#redshift_unload_settings ⇒ RedshiftUnloadSettings
interim Amazon S3 when copying from Amazon Redshift with unload.
-
#type ⇒ Object
Returns the value of attribute type.
Attributes inherited from CopySource
#additional_properties, #source_retry_count, #source_retry_wait
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for AmazonRedshiftSource class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ AmazonRedshiftSource
constructor
A new instance of AmazonRedshiftSource.
Constructor Details
#initialize ⇒ AmazonRedshiftSource
Returns a new instance of AmazonRedshiftSource.
16 17 18 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/amazon_redshift_source.rb', line 16 def initialize @type = "AmazonRedshiftSource" end |
Instance Attribute Details
#query ⇒ Object
string).
24 25 26 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/amazon_redshift_source.rb', line 24 def query @query end |
#redshift_unload_settings ⇒ RedshiftUnloadSettings
interim Amazon S3 when copying from Amazon Redshift with unload. With this, data from Amazon Redshift source will be unloaded into S3 first and then copied into the targeted sink from the interim S3.
30 31 32 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/amazon_redshift_source.rb', line 30 def redshift_unload_settings @redshift_unload_settings end |
#type ⇒ Object
Returns the value of attribute type.
20 21 22 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/amazon_redshift_source.rb', line 20 def type @type end |
Class Method Details
.mapper ⇒ Object
Mapper for AmazonRedshiftSource class as Ruby Hash. This will be used for serialization/deserialization.
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/amazon_redshift_source.rb', line 37 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'AmazonRedshiftSource', type: { name: 'Composite', class_name: 'AmazonRedshiftSource', model_properties: { additional_properties: { client_side_validation: true, required: false, type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'ObjectElementType', type: { name: 'Object' } } } }, source_retry_count: { client_side_validation: true, required: false, serialized_name: 'sourceRetryCount', type: { name: 'Object' } }, source_retry_wait: { client_side_validation: true, required: false, serialized_name: 'sourceRetryWait', type: { name: 'Object' } }, type: { client_side_validation: true, required: true, serialized_name: 'type', type: { name: 'String' } }, query: { client_side_validation: true, required: false, serialized_name: 'query', type: { name: 'Object' } }, redshift_unload_settings: { client_side_validation: true, required: false, serialized_name: 'redshiftUnloadSettings', type: { name: 'Composite', class_name: 'RedshiftUnloadSettings' } } } } } end |