/*
* 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 UpdateJob operation.
/// While a job's JobState
value is New
, you can update some
/// of the information associated with a job. Once the job changes to a different job
/// state, usually within 60 minutes of the job being created, this action is no longer
/// available.
///
public partial class UpdateJobRequest : AmazonSnowballRequest
{
private string _addressId;
private string _description;
private string _forwardingAddressId;
private string _jobId;
private Notification _notification;
private OnDeviceServiceConfiguration _onDeviceServiceConfiguration;
private PickupDetails _pickupDetails;
private JobResource _resources;
private string _roleARN;
private ShippingOption _shippingOption;
private SnowballCapacity _snowballCapacityPreference;
///
/// Gets and sets the property AddressId.
///
/// The ID of the updated Address object.
///
///
[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 Description.
///
/// The updated description of this job's JobMetadata object.
///
///
[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 ForwardingAddressId.
///
/// The updated ID for the forwarding address 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 JobId.
///
/// The job ID of the job that you want to update, for example JID123e4567-e89b-12d3-a456-426655440000
.
///
///
[AWSProperty(Required=true, Min=39, Max=39)]
public string JobId
{
get { return this._jobId; }
set { this._jobId = value; }
}
// Check to see if JobId property is set
internal bool IsSetJobId()
{
return this._jobId != null;
}
///
/// Gets and sets the property Notification.
///
/// The new or updated Notification object.
///
///
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.
///
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 Resources.
///
/// The updated JobResource
object, or the updated JobResource object.
///
///
///
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 new role Amazon Resource Name (ARN) that you want to associate with this job.
/// To create a role ARN, use the CreateRoleIdentity
/// 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 updated shipping option value of this job's ShippingDetails object.
///
///
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.
///
/// The updated SnowballCapacityPreference
of this job's JobMetadata
/// object. The 50 TB Snowballs are only available in the US regions.
///
///
///
/// 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;
}
}
}