/* * 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 elasticmapreduce-2009-03-31.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.ElasticMapReduce.Model { /// /// Container for the parameters to the TerminateJobFlows operation. /// TerminateJobFlows shuts a list of clusters (job flows) down. When a job flow is shut /// down, any step not yet completed is canceled and the Amazon EC2 instances on which /// the cluster is running are stopped. Any log files not already saved are uploaded to /// Amazon S3 if a LogUri was specified when the cluster was created. /// /// /// /// The maximum number of clusters allowed is 10. The call to TerminateJobFlows /// is asynchronous. Depending on the configuration of the cluster, it may take up to /// 1-5 minutes for the cluster to completely terminate and release allocated resources, /// such as Amazon EC2 instances. /// /// public partial class TerminateJobFlowsRequest : AmazonElasticMapReduceRequest { private List _jobFlowIds = new List(); /// /// Empty constructor used to set properties independently even when a simple constructor is available /// public TerminateJobFlowsRequest() { } /// /// Instantiates TerminateJobFlowsRequest with the parameterized properties /// /// A list of job flows to be shut down. public TerminateJobFlowsRequest(List jobFlowIds) { _jobFlowIds = jobFlowIds; } /// /// Gets and sets the property JobFlowIds. /// /// A list of job flows to be shut down. /// /// [AWSProperty(Required=true)] public List JobFlowIds { get { return this._jobFlowIds; } set { this._jobFlowIds = value; } } // Check to see if JobFlowIds property is set internal bool IsSetJobFlowIds() { return this._jobFlowIds != null && this._jobFlowIds.Count > 0; } } }