/* * Copyright 2018-2023 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. */ package com.amazonaws.services.route53resolver.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* A complex type that contains information about a Resolver configuration for a VPC. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class ResolverConfig implements Serializable, Cloneable, StructuredPojo { /** ** ID for the Resolver configuration. *
*/ private String id; /** ** The ID of the Amazon Virtual Private Cloud VPC that you're configuring Resolver for. *
*/ private String resourceId; /** ** The owner account ID of the Amazon Virtual Private Cloud VPC. *
*/ private String ownerId; /** ** The status of whether or not the Resolver will create autodefined rules for reverse DNS lookups. This is enabled * by default. The status can be one of following: *
** ENABLING: Autodefined rules for reverse DNS lookups are being enabled but are not complete. *
** ENABLED: Autodefined rules for reverse DNS lookups are enabled. *
** DISABLING: Autodefined rules for reverse DNS lookups are being disabled but are not complete. *
** DISABLED: Autodefined rules for reverse DNS lookups are disabled. *
** ID for the Resolver configuration. *
* * @param id * ID for the Resolver configuration. */ public void setId(String id) { this.id = id; } /** ** ID for the Resolver configuration. *
* * @return ID for the Resolver configuration. */ public String getId() { return this.id; } /** ** ID for the Resolver configuration. *
* * @param id * ID for the Resolver configuration. * @return Returns a reference to this object so that method calls can be chained together. */ public ResolverConfig withId(String id) { setId(id); return this; } /** ** The ID of the Amazon Virtual Private Cloud VPC that you're configuring Resolver for. *
* * @param resourceId * The ID of the Amazon Virtual Private Cloud VPC that you're configuring Resolver for. */ public void setResourceId(String resourceId) { this.resourceId = resourceId; } /** ** The ID of the Amazon Virtual Private Cloud VPC that you're configuring Resolver for. *
* * @return The ID of the Amazon Virtual Private Cloud VPC that you're configuring Resolver for. */ public String getResourceId() { return this.resourceId; } /** ** The ID of the Amazon Virtual Private Cloud VPC that you're configuring Resolver for. *
* * @param resourceId * The ID of the Amazon Virtual Private Cloud VPC that you're configuring Resolver for. * @return Returns a reference to this object so that method calls can be chained together. */ public ResolverConfig withResourceId(String resourceId) { setResourceId(resourceId); return this; } /** ** The owner account ID of the Amazon Virtual Private Cloud VPC. *
* * @param ownerId * The owner account ID of the Amazon Virtual Private Cloud VPC. */ public void setOwnerId(String ownerId) { this.ownerId = ownerId; } /** ** The owner account ID of the Amazon Virtual Private Cloud VPC. *
* * @return The owner account ID of the Amazon Virtual Private Cloud VPC. */ public String getOwnerId() { return this.ownerId; } /** ** The owner account ID of the Amazon Virtual Private Cloud VPC. *
* * @param ownerId * The owner account ID of the Amazon Virtual Private Cloud VPC. * @return Returns a reference to this object so that method calls can be chained together. */ public ResolverConfig withOwnerId(String ownerId) { setOwnerId(ownerId); return this; } /** ** The status of whether or not the Resolver will create autodefined rules for reverse DNS lookups. This is enabled * by default. The status can be one of following: *
** ENABLING: Autodefined rules for reverse DNS lookups are being enabled but are not complete. *
** ENABLED: Autodefined rules for reverse DNS lookups are enabled. *
** DISABLING: Autodefined rules for reverse DNS lookups are being disabled but are not complete. *
** DISABLED: Autodefined rules for reverse DNS lookups are disabled. *
** ENABLING: Autodefined rules for reverse DNS lookups are being enabled but are not complete. *
** ENABLED: Autodefined rules for reverse DNS lookups are enabled. *
** DISABLING: Autodefined rules for reverse DNS lookups are being disabled but are not complete. *
** DISABLED: Autodefined rules for reverse DNS lookups are disabled. *
** The status of whether or not the Resolver will create autodefined rules for reverse DNS lookups. This is enabled * by default. The status can be one of following: *
** ENABLING: Autodefined rules for reverse DNS lookups are being enabled but are not complete. *
** ENABLED: Autodefined rules for reverse DNS lookups are enabled. *
** DISABLING: Autodefined rules for reverse DNS lookups are being disabled but are not complete. *
** DISABLED: Autodefined rules for reverse DNS lookups are disabled. *
** ENABLING: Autodefined rules for reverse DNS lookups are being enabled but are not complete. *
** ENABLED: Autodefined rules for reverse DNS lookups are enabled. *
** DISABLING: Autodefined rules for reverse DNS lookups are being disabled but are not complete. *
** DISABLED: Autodefined rules for reverse DNS lookups are disabled. *
** The status of whether or not the Resolver will create autodefined rules for reverse DNS lookups. This is enabled * by default. The status can be one of following: *
** ENABLING: Autodefined rules for reverse DNS lookups are being enabled but are not complete. *
** ENABLED: Autodefined rules for reverse DNS lookups are enabled. *
** DISABLING: Autodefined rules for reverse DNS lookups are being disabled but are not complete. *
** DISABLED: Autodefined rules for reverse DNS lookups are disabled. *
** ENABLING: Autodefined rules for reverse DNS lookups are being enabled but are not complete. *
** ENABLED: Autodefined rules for reverse DNS lookups are enabled. *
** DISABLING: Autodefined rules for reverse DNS lookups are being disabled but are not complete. *
** DISABLED: Autodefined rules for reverse DNS lookups are disabled. *
** The status of whether or not the Resolver will create autodefined rules for reverse DNS lookups. This is enabled * by default. The status can be one of following: *
** ENABLING: Autodefined rules for reverse DNS lookups are being enabled but are not complete. *
** ENABLED: Autodefined rules for reverse DNS lookups are enabled. *
** DISABLING: Autodefined rules for reverse DNS lookups are being disabled but are not complete. *
** DISABLED: Autodefined rules for reverse DNS lookups are disabled. *
** ENABLING: Autodefined rules for reverse DNS lookups are being enabled but are not complete. *
** ENABLED: Autodefined rules for reverse DNS lookups are enabled. *
** DISABLING: Autodefined rules for reverse DNS lookups are being disabled but are not complete. *
** DISABLED: Autodefined rules for reverse DNS lookups are disabled. *
*