/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the snowball-2016-06-30.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Snowball.Model { /// /// Container for the parameters to the CreateJob operation. /// Creates a job to import or export data between Amazon S3 and your on-premises data /// center. Your Amazon Web Services account must have the right trust policies and permissions /// in place to create a job for a Snow device. If you're creating a job for a node in /// a cluster, you only need to provide the clusterId value; the other job /// attributes are inherited from the cluster. /// /// /// /// Only the Snowball; Edge device type is supported when ordering clustered jobs. /// /// /// /// The device capacity is optional. /// /// /// /// Availability of device types differ by Amazon Web Services Region. For more information /// about Region availability, see Amazon /// Web Services Regional Services. /// ///

Snow Family devices and their capacities. /// ///

///
public partial class CreateJobRequest : AmazonSnowballRequest { private string _addressId; private string _clusterId; private string _description; private DeviceConfiguration _deviceConfiguration; private string _forwardingAddressId; private ImpactLevel _impactLevel; private JobType _jobType; private string _kmsKeyARN; private string _longTermPricingId; private Notification _notification; private OnDeviceServiceConfiguration _onDeviceServiceConfiguration; private PickupDetails _pickupDetails; private RemoteManagement _remoteManagement; private JobResource _resources; private string _roleARN; private ShippingOption _shippingOption; private SnowballCapacity _snowballCapacityPreference; private SnowballType _snowballType; private TaxDocuments _taxDocuments; /// /// Gets and sets the property AddressId. /// /// The ID for the address that you want the Snow device shipped to. /// /// [AWSProperty(Min=40, Max=40)] public string AddressId { get { return this._addressId; } set { this._addressId = value; } } // Check to see if AddressId property is set internal bool IsSetAddressId() { return this._addressId != null; } /// /// Gets and sets the property ClusterId. /// /// The ID of a cluster. If you're creating a job for a node in a cluster, you need to /// provide only this clusterId value. The other job attributes are inherited /// from the cluster. /// /// [AWSProperty(Min=39, Max=39)] public string ClusterId { get { return this._clusterId; } set { this._clusterId = value; } } // Check to see if ClusterId property is set internal bool IsSetClusterId() { return this._clusterId != null; } /// /// Gets and sets the property Description. /// /// Defines an optional description of this specific job, for example Important /// Photos 2016-08-11. /// /// [AWSProperty(Min=1, Max=1024)] public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// /// Gets and sets the property DeviceConfiguration. /// /// Defines the device configuration for an Snowcone job. /// /// /// /// For more information, see "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html" /// (Snow Family Devices and Capacity) in the Snowcone User Guide or "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html" /// (Snow Family Devices and Capacity) in the Snowcone User Guide. /// /// public DeviceConfiguration DeviceConfiguration { get { return this._deviceConfiguration; } set { this._deviceConfiguration = value; } } // Check to see if DeviceConfiguration property is set internal bool IsSetDeviceConfiguration() { return this._deviceConfiguration != null; } /// /// Gets and sets the property ForwardingAddressId. /// /// The forwarding address ID for a job. This field is not supported in most Regions. /// /// [AWSProperty(Min=40, Max=40)] public string ForwardingAddressId { get { return this._forwardingAddressId; } set { this._forwardingAddressId = value; } } // Check to see if ForwardingAddressId property is set internal bool IsSetForwardingAddressId() { return this._forwardingAddressId != null; } /// /// Gets and sets the property ImpactLevel. /// /// The highest impact level of data that will be stored or processed on the device, provided /// at job creation. /// /// public ImpactLevel ImpactLevel { get { return this._impactLevel; } set { this._impactLevel = value; } } // Check to see if ImpactLevel property is set internal bool IsSetImpactLevel() { return this._impactLevel != null; } /// /// Gets and sets the property JobType. /// /// Defines the type of job that you're creating. /// /// public JobType JobType { get { return this._jobType; } set { this._jobType = value; } } // Check to see if JobType property is set internal bool IsSetJobType() { return this._jobType != null; } /// /// Gets and sets the property KmsKeyARN. /// /// The KmsKeyARN that you want to associate with this job. KmsKeyARNs /// are created using the CreateKey /// Key Management Service (KMS) API action. /// /// [AWSProperty(Max=255)] public string KmsKeyARN { get { return this._kmsKeyARN; } set { this._kmsKeyARN = value; } } // Check to see if KmsKeyARN property is set internal bool IsSetKmsKeyARN() { return this._kmsKeyARN != null; } /// /// Gets and sets the property LongTermPricingId. /// /// The ID of the long-term pricing type for the device. /// /// [AWSProperty(Min=41, Max=41)] public string LongTermPricingId { get { return this._longTermPricingId; } set { this._longTermPricingId = value; } } // Check to see if LongTermPricingId property is set internal bool IsSetLongTermPricingId() { return this._longTermPricingId != null; } /// /// Gets and sets the property Notification. /// /// Defines the Amazon Simple Notification Service (Amazon SNS) notification settings /// for this job. /// /// public Notification Notification { get { return this._notification; } set { this._notification = value; } } // Check to see if Notification property is set internal bool IsSetNotification() { return this._notification != null; } /// /// Gets and sets the property OnDeviceServiceConfiguration. /// /// Specifies the service or services on the Snow Family device that your transferred /// data will be exported from or imported into. Amazon Web Services Snow Family supports /// Amazon S3 and NFS (Network File System) and the Amazon Web Services Storage Gateway /// service Tape Gateway type. /// /// public OnDeviceServiceConfiguration OnDeviceServiceConfiguration { get { return this._onDeviceServiceConfiguration; } set { this._onDeviceServiceConfiguration = value; } } // Check to see if OnDeviceServiceConfiguration property is set internal bool IsSetOnDeviceServiceConfiguration() { return this._onDeviceServiceConfiguration != null; } /// /// Gets and sets the property PickupDetails. /// /// Information identifying the person picking up the device. /// /// public PickupDetails PickupDetails { get { return this._pickupDetails; } set { this._pickupDetails = value; } } // Check to see if PickupDetails property is set internal bool IsSetPickupDetails() { return this._pickupDetails != null; } /// /// Gets and sets the property RemoteManagement. /// /// Allows you to securely operate and manage Snowcone devices remotely from outside of /// your internal network. When set to INSTALLED_AUTOSTART, remote management /// will automatically be available when the device arrives at your location. Otherwise, /// you need to use the Snowball Edge client to manage the device. When set to NOT_INSTALLED, /// remote management will not be available on the device. /// /// public RemoteManagement RemoteManagement { get { return this._remoteManagement; } set { this._remoteManagement = value; } } // Check to see if RemoteManagement property is set internal bool IsSetRemoteManagement() { return this._remoteManagement != null; } /// /// Gets and sets the property Resources. /// /// Defines the Amazon S3 buckets associated with this job. /// /// /// /// With IMPORT jobs, you specify the bucket or buckets that your transferred /// data will be imported into. /// /// /// /// With EXPORT jobs, you specify the bucket or buckets that your transferred /// data will be exported from. Optionally, you can also specify a KeyRange /// value. If you choose to export a range, you define the length of the range by providing /// either an inclusive BeginMarker value, an inclusive EndMarker /// value, or both. Ranges are UTF-8 binary sorted. /// /// public JobResource Resources { get { return this._resources; } set { this._resources = value; } } // Check to see if Resources property is set internal bool IsSetResources() { return this._resources != null; } /// /// Gets and sets the property RoleARN. /// /// The RoleARN that you want to associate with this job. RoleArns /// are created using the CreateRole /// Identity and Access Management (IAM) API action. /// /// [AWSProperty(Max=255)] public string RoleARN { get { return this._roleARN; } set { this._roleARN = value; } } // Check to see if RoleARN property is set internal bool IsSetRoleARN() { return this._roleARN != null; } /// /// Gets and sets the property ShippingOption. /// /// The shipping speed for this job. This speed doesn't dictate how soon you'll get the /// Snow device, rather it represents how quickly the Snow device moves to its destination /// while in transit. Regional shipping speeds are as follows: /// /// /// public ShippingOption ShippingOption { get { return this._shippingOption; } set { this._shippingOption = value; } } // Check to see if ShippingOption property is set internal bool IsSetShippingOption() { return this._shippingOption != null; } /// /// Gets and sets the property SnowballCapacityPreference. /// /// If your job is being created in one of the US regions, you have the option of specifying /// what size Snow device you'd like for this job. In all other regions, Snowballs come /// with 80 TB in storage capacity. /// /// /// /// For more information, see "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html" /// (Snow Family Devices and Capacity) in the Snowcone User Guide or "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html" /// (Snow Family Devices and Capacity) in the Snowcone User Guide. /// /// public SnowballCapacity SnowballCapacityPreference { get { return this._snowballCapacityPreference; } set { this._snowballCapacityPreference = value; } } // Check to see if SnowballCapacityPreference property is set internal bool IsSetSnowballCapacityPreference() { return this._snowballCapacityPreference != null; } /// /// Gets and sets the property SnowballType. /// /// The type of Snow Family devices to use for this job. /// /// /// /// For cluster jobs, Amazon Web Services Snow Family currently supports only the EDGE /// device type. /// /// /// /// The type of Amazon Web Services Snow device to use for this job. Currently, the only /// supported device type for cluster jobs is EDGE. /// /// /// /// For more information, see Snowball /// Edge Device Options in the Snowball Edge Developer Guide. /// /// /// /// For more information, see "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html" /// (Snow Family Devices and Capacity) in the Snowcone User Guide or "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html" /// (Snow Family Devices and Capacity) in the Snowcone User Guide. /// /// public SnowballType SnowballType { get { return this._snowballType; } set { this._snowballType = value; } } // Check to see if SnowballType property is set internal bool IsSetSnowballType() { return this._snowballType != null; } /// /// Gets and sets the property TaxDocuments. /// /// The tax documents required in your Amazon Web Services Region. /// /// public TaxDocuments TaxDocuments { get { return this._taxDocuments; } set { this._taxDocuments = value; } } // Check to see if TaxDocuments property is set internal bool IsSetTaxDocuments() { return this._taxDocuments != null; } } }