/* * 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 batch-2016-08-10.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.Batch.Model { /// /// An object that represents a container instance host device. /// /// /// /// This object isn't applicable to jobs that are running on Fargate resources and shouldn't /// be provided. /// /// /// public partial class Device { private string _containerPath; private string _hostPath; private List _permissions = new List(); /// /// Gets and sets the property ContainerPath. /// /// The path inside the container that's used to expose the host device. By default, the /// hostPath value is used. /// /// public string ContainerPath { get { return this._containerPath; } set { this._containerPath = value; } } // Check to see if ContainerPath property is set internal bool IsSetContainerPath() { return this._containerPath != null; } /// /// Gets and sets the property HostPath. /// /// The path for the device on the host container instance. /// /// [AWSProperty(Required=true)] public string HostPath { get { return this._hostPath; } set { this._hostPath = value; } } // Check to see if HostPath property is set internal bool IsSetHostPath() { return this._hostPath != null; } /// /// Gets and sets the property Permissions. /// /// The explicit permissions to provide to the container for the device. By default, the /// container has permissions for read, write, and mknod /// for the device. /// /// public List Permissions { get { return this._permissions; } set { this._permissions = value; } } // Check to see if Permissions property is set internal bool IsSetPermissions() { return this._permissions != null && this._permissions.Count > 0; } } }