/*
* 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 route53resolver-2018-04-01.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.Route53Resolver.Model
{
///
/// In an UpdateResolverRule
/// request, information about the changes that you want to make.
///
public partial class ResolverRuleConfig
{
private string _name;
private string _resolverEndpointId;
private List _targetIps = new List();
///
/// Gets and sets the property Name.
///
/// The new name for the Resolver rule. The name that you specify appears in the Resolver
/// dashboard in the Route 53 console.
///
///
[AWSProperty(Max=64)]
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 ResolverEndpointId.
///
/// The ID of the new outbound Resolver endpoint that you want to use to route DNS queries
/// to the IP addresses that you specify in TargetIps
.
///
///
[AWSProperty(Min=1, Max=64)]
public string ResolverEndpointId
{
get { return this._resolverEndpointId; }
set { this._resolverEndpointId = value; }
}
// Check to see if ResolverEndpointId property is set
internal bool IsSetResolverEndpointId()
{
return this._resolverEndpointId != null;
}
///
/// Gets and sets the property TargetIps.
///
/// For DNS queries that originate in your VPC, the new IP addresses that you want to
/// route outbound DNS queries to.
///
///
[AWSProperty(Min=1)]
public List TargetIps
{
get { return this._targetIps; }
set { this._targetIps = value; }
}
// Check to see if TargetIps property is set
internal bool IsSetTargetIps()
{
return this._targetIps != null && this._targetIps.Count > 0;
}
}
}