/* * 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 ec2-2016-11-15.normal.json service model. */ using Amazon.Runtime; using Amazon.Runtime.Endpoints; namespace Amazon.EC2.Endpoints { /// /// Contains parameters used for resolving EC2 endpoints /// Parameters can be sourced from client config and service operations /// Used by internal EC2EndpointProvider and EC2EndpointResolver /// Can be used by custom EndpointProvider, see ClientConfig.EndpointProvider /// public class EC2EndpointParameters : EndpointParameters { /// /// EC2EndpointParameters constructor /// public EC2EndpointParameters() { UseDualStack = false; UseFIPS = false; } /// /// Region parameter /// public string Region { get { return (string)this["Region"]; } set { this["Region"] = value; } } /// /// UseDualStack parameter /// public bool? UseDualStack { get { return (bool?)this["UseDualStack"]; } set { this["UseDualStack"] = value; } } /// /// UseFIPS parameter /// public bool? UseFIPS { get { return (bool?)this["UseFIPS"]; } set { this["UseFIPS"] = value; } } /// /// Endpoint parameter /// public string Endpoint { get { return (string)this["Endpoint"]; } set { this["Endpoint"] = value; } } } }