/* * 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 { /// /// Specifies an Amazon EKS volume for a job definition. /// public partial class EksVolume { private EksEmptyDir _emptyDir; private EksHostPath _hostPath; private string _name; private EksSecret _secret; /// /// Gets and sets the property EmptyDir. /// /// Specifies the configuration of a Kubernetes emptyDir volume. For more /// information, see emptyDir /// in the Kubernetes documentation. /// /// public EksEmptyDir EmptyDir { get { return this._emptyDir; } set { this._emptyDir = value; } } // Check to see if EmptyDir property is set internal bool IsSetEmptyDir() { return this._emptyDir != null; } /// /// Gets and sets the property HostPath. /// /// Specifies the configuration of a Kubernetes hostPath volume. For more /// information, see hostPath /// in the Kubernetes documentation. /// /// public EksHostPath 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 Name. /// /// The name of the volume. The name must be allowed as a DNS subdomain name. For more /// information, see DNS /// subdomain names in the Kubernetes documentation. /// /// [AWSProperty(Required=true)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// /// Gets and sets the property Secret. /// /// Specifies the configuration of a Kubernetes secret volume. For more information, /// see secret /// in the Kubernetes documentation. /// /// public EksSecret Secret { get { return this._secret; } set { this._secret = value; } } // Check to see if Secret property is set internal bool IsSetSecret() { return this._secret != null; } } }