All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.route53.model.ListTrafficPolicyInstancesRequest Maven / Gradle / Ivy

Go to download

The AWS Java SDK for Amazon Route53 module holds the client classes that are used for communicating with Amazon Route53 Service

The newest version!
/*
 * Copyright 2019-2024 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.route53.model;

import java.io.Serializable;
import javax.annotation.Generated;

import com.amazonaws.AmazonWebServiceRequest;

/**
 * 

* A request to get information about the traffic policy instances that you created by using the current Amazon Web * Services account. *

* * @see AWS * API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class ListTrafficPolicyInstancesRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *

* If the value of IsTruncated in the previous response was true, you have more traffic * policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstances * request. For the value of HostedZoneId, specify the value of HostedZoneIdMarker from * the previous response, which is the hosted zone ID of the first traffic policy instance in the next group of * traffic policy instances. *

*

* If the value of IsTruncated in the previous response was false, there are no more * traffic policy instances to get. *

*/ private String hostedZoneIdMarker; /** *

* If the value of IsTruncated in the previous response was true, you have more traffic * policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstances * request. For the value of trafficpolicyinstancename, specify the value of * TrafficPolicyInstanceNameMarker from the previous response, which is the name of the first traffic * policy instance in the next group of traffic policy instances. *

*

* If the value of IsTruncated in the previous response was false, there are no more * traffic policy instances to get. *

*/ private String trafficPolicyInstanceNameMarker; /** *

* If the value of IsTruncated in the previous response was true, you have more traffic * policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstances * request. For the value of trafficpolicyinstancetype, specify the value of * TrafficPolicyInstanceTypeMarker from the previous response, which is the type of the first traffic * policy instance in the next group of traffic policy instances. *

*

* If the value of IsTruncated in the previous response was false, there are no more * traffic policy instances to get. *

*/ private String trafficPolicyInstanceTypeMarker; /** *

* The maximum number of traffic policy instances that you want Amazon Route 53 to return in response to a * ListTrafficPolicyInstances request. If you have more than MaxItems traffic policy * instances, the value of the IsTruncated element in the response is true, and the values * of HostedZoneIdMarker, TrafficPolicyInstanceNameMarker, and * TrafficPolicyInstanceTypeMarker represent the first traffic policy instance in the next group of * MaxItems traffic policy instances. *

*/ private String maxItems; /** *

* If the value of IsTruncated in the previous response was true, you have more traffic * policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstances * request. For the value of HostedZoneId, specify the value of HostedZoneIdMarker from * the previous response, which is the hosted zone ID of the first traffic policy instance in the next group of * traffic policy instances. *

*

* If the value of IsTruncated in the previous response was false, there are no more * traffic policy instances to get. *

* * @param hostedZoneIdMarker * If the value of IsTruncated in the previous response was true, you have more * traffic policy instances. To get more traffic policy instances, submit another * ListTrafficPolicyInstances request. For the value of HostedZoneId, specify the * value of HostedZoneIdMarker from the previous response, which is the hosted zone ID of the * first traffic policy instance in the next group of traffic policy instances.

*

* If the value of IsTruncated in the previous response was false, there are no * more traffic policy instances to get. */ public void setHostedZoneIdMarker(String hostedZoneIdMarker) { this.hostedZoneIdMarker = hostedZoneIdMarker; } /** *

* If the value of IsTruncated in the previous response was true, you have more traffic * policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstances * request. For the value of HostedZoneId, specify the value of HostedZoneIdMarker from * the previous response, which is the hosted zone ID of the first traffic policy instance in the next group of * traffic policy instances. *

*

* If the value of IsTruncated in the previous response was false, there are no more * traffic policy instances to get. *

* * @return If the value of IsTruncated in the previous response was true, you have more * traffic policy instances. To get more traffic policy instances, submit another * ListTrafficPolicyInstances request. For the value of HostedZoneId, specify the * value of HostedZoneIdMarker from the previous response, which is the hosted zone ID of the * first traffic policy instance in the next group of traffic policy instances.

*

* If the value of IsTruncated in the previous response was false, there are no * more traffic policy instances to get. */ public String getHostedZoneIdMarker() { return this.hostedZoneIdMarker; } /** *

* If the value of IsTruncated in the previous response was true, you have more traffic * policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstances * request. For the value of HostedZoneId, specify the value of HostedZoneIdMarker from * the previous response, which is the hosted zone ID of the first traffic policy instance in the next group of * traffic policy instances. *

*

* If the value of IsTruncated in the previous response was false, there are no more * traffic policy instances to get. *

* * @param hostedZoneIdMarker * If the value of IsTruncated in the previous response was true, you have more * traffic policy instances. To get more traffic policy instances, submit another * ListTrafficPolicyInstances request. For the value of HostedZoneId, specify the * value of HostedZoneIdMarker from the previous response, which is the hosted zone ID of the * first traffic policy instance in the next group of traffic policy instances.

*

* If the value of IsTruncated in the previous response was false, there are no * more traffic policy instances to get. * @return Returns a reference to this object so that method calls can be chained together. */ public ListTrafficPolicyInstancesRequest withHostedZoneIdMarker(String hostedZoneIdMarker) { setHostedZoneIdMarker(hostedZoneIdMarker); return this; } /** *

* If the value of IsTruncated in the previous response was true, you have more traffic * policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstances * request. For the value of trafficpolicyinstancename, specify the value of * TrafficPolicyInstanceNameMarker from the previous response, which is the name of the first traffic * policy instance in the next group of traffic policy instances. *

*

* If the value of IsTruncated in the previous response was false, there are no more * traffic policy instances to get. *

* * @param trafficPolicyInstanceNameMarker * If the value of IsTruncated in the previous response was true, you have more * traffic policy instances. To get more traffic policy instances, submit another * ListTrafficPolicyInstances request. For the value of trafficpolicyinstancename, * specify the value of TrafficPolicyInstanceNameMarker from the previous response, which is the * name of the first traffic policy instance in the next group of traffic policy instances.

*

* If the value of IsTruncated in the previous response was false, there are no * more traffic policy instances to get. */ public void setTrafficPolicyInstanceNameMarker(String trafficPolicyInstanceNameMarker) { this.trafficPolicyInstanceNameMarker = trafficPolicyInstanceNameMarker; } /** *

* If the value of IsTruncated in the previous response was true, you have more traffic * policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstances * request. For the value of trafficpolicyinstancename, specify the value of * TrafficPolicyInstanceNameMarker from the previous response, which is the name of the first traffic * policy instance in the next group of traffic policy instances. *

*

* If the value of IsTruncated in the previous response was false, there are no more * traffic policy instances to get. *

* * @return If the value of IsTruncated in the previous response was true, you have more * traffic policy instances. To get more traffic policy instances, submit another * ListTrafficPolicyInstances request. For the value of trafficpolicyinstancename, * specify the value of TrafficPolicyInstanceNameMarker from the previous response, which is * the name of the first traffic policy instance in the next group of traffic policy instances.

*

* If the value of IsTruncated in the previous response was false, there are no * more traffic policy instances to get. */ public String getTrafficPolicyInstanceNameMarker() { return this.trafficPolicyInstanceNameMarker; } /** *

* If the value of IsTruncated in the previous response was true, you have more traffic * policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstances * request. For the value of trafficpolicyinstancename, specify the value of * TrafficPolicyInstanceNameMarker from the previous response, which is the name of the first traffic * policy instance in the next group of traffic policy instances. *

*

* If the value of IsTruncated in the previous response was false, there are no more * traffic policy instances to get. *

* * @param trafficPolicyInstanceNameMarker * If the value of IsTruncated in the previous response was true, you have more * traffic policy instances. To get more traffic policy instances, submit another * ListTrafficPolicyInstances request. For the value of trafficpolicyinstancename, * specify the value of TrafficPolicyInstanceNameMarker from the previous response, which is the * name of the first traffic policy instance in the next group of traffic policy instances.

*

* If the value of IsTruncated in the previous response was false, there are no * more traffic policy instances to get. * @return Returns a reference to this object so that method calls can be chained together. */ public ListTrafficPolicyInstancesRequest withTrafficPolicyInstanceNameMarker(String trafficPolicyInstanceNameMarker) { setTrafficPolicyInstanceNameMarker(trafficPolicyInstanceNameMarker); return this; } /** *

* If the value of IsTruncated in the previous response was true, you have more traffic * policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstances * request. For the value of trafficpolicyinstancetype, specify the value of * TrafficPolicyInstanceTypeMarker from the previous response, which is the type of the first traffic * policy instance in the next group of traffic policy instances. *

*

* If the value of IsTruncated in the previous response was false, there are no more * traffic policy instances to get. *

* * @param trafficPolicyInstanceTypeMarker * If the value of IsTruncated in the previous response was true, you have more * traffic policy instances. To get more traffic policy instances, submit another * ListTrafficPolicyInstances request. For the value of trafficpolicyinstancetype, * specify the value of TrafficPolicyInstanceTypeMarker from the previous response, which is the * type of the first traffic policy instance in the next group of traffic policy instances.

*

* If the value of IsTruncated in the previous response was false, there are no * more traffic policy instances to get. * @see RRType */ public void setTrafficPolicyInstanceTypeMarker(String trafficPolicyInstanceTypeMarker) { this.trafficPolicyInstanceTypeMarker = trafficPolicyInstanceTypeMarker; } /** *

* If the value of IsTruncated in the previous response was true, you have more traffic * policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstances * request. For the value of trafficpolicyinstancetype, specify the value of * TrafficPolicyInstanceTypeMarker from the previous response, which is the type of the first traffic * policy instance in the next group of traffic policy instances. *

*

* If the value of IsTruncated in the previous response was false, there are no more * traffic policy instances to get. *

* * @return If the value of IsTruncated in the previous response was true, you have more * traffic policy instances. To get more traffic policy instances, submit another * ListTrafficPolicyInstances request. For the value of trafficpolicyinstancetype, * specify the value of TrafficPolicyInstanceTypeMarker from the previous response, which is * the type of the first traffic policy instance in the next group of traffic policy instances.

*

* If the value of IsTruncated in the previous response was false, there are no * more traffic policy instances to get. * @see RRType */ public String getTrafficPolicyInstanceTypeMarker() { return this.trafficPolicyInstanceTypeMarker; } /** *

* If the value of IsTruncated in the previous response was true, you have more traffic * policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstances * request. For the value of trafficpolicyinstancetype, specify the value of * TrafficPolicyInstanceTypeMarker from the previous response, which is the type of the first traffic * policy instance in the next group of traffic policy instances. *

*

* If the value of IsTruncated in the previous response was false, there are no more * traffic policy instances to get. *

* * @param trafficPolicyInstanceTypeMarker * If the value of IsTruncated in the previous response was true, you have more * traffic policy instances. To get more traffic policy instances, submit another * ListTrafficPolicyInstances request. For the value of trafficpolicyinstancetype, * specify the value of TrafficPolicyInstanceTypeMarker from the previous response, which is the * type of the first traffic policy instance in the next group of traffic policy instances.

*

* If the value of IsTruncated in the previous response was false, there are no * more traffic policy instances to get. * @return Returns a reference to this object so that method calls can be chained together. * @see RRType */ public ListTrafficPolicyInstancesRequest withTrafficPolicyInstanceTypeMarker(String trafficPolicyInstanceTypeMarker) { setTrafficPolicyInstanceTypeMarker(trafficPolicyInstanceTypeMarker); return this; } /** *

* If the value of IsTruncated in the previous response was true, you have more traffic * policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstances * request. For the value of trafficpolicyinstancetype, specify the value of * TrafficPolicyInstanceTypeMarker from the previous response, which is the type of the first traffic * policy instance in the next group of traffic policy instances. *

*

* If the value of IsTruncated in the previous response was false, there are no more * traffic policy instances to get. *

* * @param trafficPolicyInstanceTypeMarker * If the value of IsTruncated in the previous response was true, you have more * traffic policy instances. To get more traffic policy instances, submit another * ListTrafficPolicyInstances request. For the value of trafficpolicyinstancetype, * specify the value of TrafficPolicyInstanceTypeMarker from the previous response, which is the * type of the first traffic policy instance in the next group of traffic policy instances.

*

* If the value of IsTruncated in the previous response was false, there are no * more traffic policy instances to get. * @see RRType */ public void setTrafficPolicyInstanceTypeMarker(RRType trafficPolicyInstanceTypeMarker) { withTrafficPolicyInstanceTypeMarker(trafficPolicyInstanceTypeMarker); } /** *

* If the value of IsTruncated in the previous response was true, you have more traffic * policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstances * request. For the value of trafficpolicyinstancetype, specify the value of * TrafficPolicyInstanceTypeMarker from the previous response, which is the type of the first traffic * policy instance in the next group of traffic policy instances. *

*

* If the value of IsTruncated in the previous response was false, there are no more * traffic policy instances to get. *

* * @param trafficPolicyInstanceTypeMarker * If the value of IsTruncated in the previous response was true, you have more * traffic policy instances. To get more traffic policy instances, submit another * ListTrafficPolicyInstances request. For the value of trafficpolicyinstancetype, * specify the value of TrafficPolicyInstanceTypeMarker from the previous response, which is the * type of the first traffic policy instance in the next group of traffic policy instances.

*

* If the value of IsTruncated in the previous response was false, there are no * more traffic policy instances to get. * @return Returns a reference to this object so that method calls can be chained together. * @see RRType */ public ListTrafficPolicyInstancesRequest withTrafficPolicyInstanceTypeMarker(RRType trafficPolicyInstanceTypeMarker) { this.trafficPolicyInstanceTypeMarker = trafficPolicyInstanceTypeMarker.toString(); return this; } /** *

* The maximum number of traffic policy instances that you want Amazon Route 53 to return in response to a * ListTrafficPolicyInstances request. If you have more than MaxItems traffic policy * instances, the value of the IsTruncated element in the response is true, and the values * of HostedZoneIdMarker, TrafficPolicyInstanceNameMarker, and * TrafficPolicyInstanceTypeMarker represent the first traffic policy instance in the next group of * MaxItems traffic policy instances. *

* * @param maxItems * The maximum number of traffic policy instances that you want Amazon Route 53 to return in response to a * ListTrafficPolicyInstances request. If you have more than MaxItems traffic * policy instances, the value of the IsTruncated element in the response is true, * and the values of HostedZoneIdMarker, TrafficPolicyInstanceNameMarker, and * TrafficPolicyInstanceTypeMarker represent the first traffic policy instance in the next group * of MaxItems traffic policy instances. */ public void setMaxItems(String maxItems) { this.maxItems = maxItems; } /** *

* The maximum number of traffic policy instances that you want Amazon Route 53 to return in response to a * ListTrafficPolicyInstances request. If you have more than MaxItems traffic policy * instances, the value of the IsTruncated element in the response is true, and the values * of HostedZoneIdMarker, TrafficPolicyInstanceNameMarker, and * TrafficPolicyInstanceTypeMarker represent the first traffic policy instance in the next group of * MaxItems traffic policy instances. *

* * @return The maximum number of traffic policy instances that you want Amazon Route 53 to return in response to a * ListTrafficPolicyInstances request. If you have more than MaxItems traffic * policy instances, the value of the IsTruncated element in the response is true, * and the values of HostedZoneIdMarker, TrafficPolicyInstanceNameMarker, and * TrafficPolicyInstanceTypeMarker represent the first traffic policy instance in the next * group of MaxItems traffic policy instances. */ public String getMaxItems() { return this.maxItems; } /** *

* The maximum number of traffic policy instances that you want Amazon Route 53 to return in response to a * ListTrafficPolicyInstances request. If you have more than MaxItems traffic policy * instances, the value of the IsTruncated element in the response is true, and the values * of HostedZoneIdMarker, TrafficPolicyInstanceNameMarker, and * TrafficPolicyInstanceTypeMarker represent the first traffic policy instance in the next group of * MaxItems traffic policy instances. *

* * @param maxItems * The maximum number of traffic policy instances that you want Amazon Route 53 to return in response to a * ListTrafficPolicyInstances request. If you have more than MaxItems traffic * policy instances, the value of the IsTruncated element in the response is true, * and the values of HostedZoneIdMarker, TrafficPolicyInstanceNameMarker, and * TrafficPolicyInstanceTypeMarker represent the first traffic policy instance in the next group * of MaxItems traffic policy instances. * @return Returns a reference to this object so that method calls can be chained together. */ public ListTrafficPolicyInstancesRequest withMaxItems(String maxItems) { setMaxItems(maxItems); return this; } /** * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be * redacted from this string using a placeholder value. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getHostedZoneIdMarker() != null) sb.append("HostedZoneIdMarker: ").append(getHostedZoneIdMarker()).append(","); if (getTrafficPolicyInstanceNameMarker() != null) sb.append("TrafficPolicyInstanceNameMarker: ").append(getTrafficPolicyInstanceNameMarker()).append(","); if (getTrafficPolicyInstanceTypeMarker() != null) sb.append("TrafficPolicyInstanceTypeMarker: ").append(getTrafficPolicyInstanceTypeMarker()).append(","); if (getMaxItems() != null) sb.append("MaxItems: ").append(getMaxItems()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof ListTrafficPolicyInstancesRequest == false) return false; ListTrafficPolicyInstancesRequest other = (ListTrafficPolicyInstancesRequest) obj; if (other.getHostedZoneIdMarker() == null ^ this.getHostedZoneIdMarker() == null) return false; if (other.getHostedZoneIdMarker() != null && other.getHostedZoneIdMarker().equals(this.getHostedZoneIdMarker()) == false) return false; if (other.getTrafficPolicyInstanceNameMarker() == null ^ this.getTrafficPolicyInstanceNameMarker() == null) return false; if (other.getTrafficPolicyInstanceNameMarker() != null && other.getTrafficPolicyInstanceNameMarker().equals(this.getTrafficPolicyInstanceNameMarker()) == false) return false; if (other.getTrafficPolicyInstanceTypeMarker() == null ^ this.getTrafficPolicyInstanceTypeMarker() == null) return false; if (other.getTrafficPolicyInstanceTypeMarker() != null && other.getTrafficPolicyInstanceTypeMarker().equals(this.getTrafficPolicyInstanceTypeMarker()) == false) return false; if (other.getMaxItems() == null ^ this.getMaxItems() == null) return false; if (other.getMaxItems() != null && other.getMaxItems().equals(this.getMaxItems()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getHostedZoneIdMarker() == null) ? 0 : getHostedZoneIdMarker().hashCode()); hashCode = prime * hashCode + ((getTrafficPolicyInstanceNameMarker() == null) ? 0 : getTrafficPolicyInstanceNameMarker().hashCode()); hashCode = prime * hashCode + ((getTrafficPolicyInstanceTypeMarker() == null) ? 0 : getTrafficPolicyInstanceTypeMarker().hashCode()); hashCode = prime * hashCode + ((getMaxItems() == null) ? 0 : getMaxItems().hashCode()); return hashCode; } @Override public ListTrafficPolicyInstancesRequest clone() { return (ListTrafficPolicyInstancesRequest) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy