/* * 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 robomaker-2018-06-29.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.RoboMaker.Model { /// /// Information about a deployment configuration. /// public partial class DeploymentConfig { private int? _concurrentDeploymentPercentage; private S3Object _downloadConditionFile; private int? _failureThresholdPercentage; private long? _robotDeploymentTimeoutInSeconds; /// /// Gets and sets the property ConcurrentDeploymentPercentage. /// /// The percentage of robots receiving the deployment at the same time. /// /// [AWSProperty(Min=1, Max=100)] public int ConcurrentDeploymentPercentage { get { return this._concurrentDeploymentPercentage.GetValueOrDefault(); } set { this._concurrentDeploymentPercentage = value; } } // Check to see if ConcurrentDeploymentPercentage property is set internal bool IsSetConcurrentDeploymentPercentage() { return this._concurrentDeploymentPercentage.HasValue; } /// /// Gets and sets the property DownloadConditionFile. /// /// The download condition file. /// /// public S3Object DownloadConditionFile { get { return this._downloadConditionFile; } set { this._downloadConditionFile = value; } } // Check to see if DownloadConditionFile property is set internal bool IsSetDownloadConditionFile() { return this._downloadConditionFile != null; } /// /// Gets and sets the property FailureThresholdPercentage. /// /// The percentage of deployments that need to fail before stopping deployment. /// /// [AWSProperty(Min=1, Max=100)] public int FailureThresholdPercentage { get { return this._failureThresholdPercentage.GetValueOrDefault(); } set { this._failureThresholdPercentage = value; } } // Check to see if FailureThresholdPercentage property is set internal bool IsSetFailureThresholdPercentage() { return this._failureThresholdPercentage.HasValue; } /// /// Gets and sets the property RobotDeploymentTimeoutInSeconds. /// /// The amount of time, in seconds, to wait for deployment to a single robot to complete. /// Choose a time between 1 minute and 7 days. The default is 5 hours. /// /// public long RobotDeploymentTimeoutInSeconds { get { return this._robotDeploymentTimeoutInSeconds.GetValueOrDefault(); } set { this._robotDeploymentTimeoutInSeconds = value; } } // Check to see if RobotDeploymentTimeoutInSeconds property is set internal bool IsSetRobotDeploymentTimeoutInSeconds() { return this._robotDeploymentTimeoutInSeconds.HasValue; } } }