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 SDK for Java with support for OSGi. The AWS SDK for Java provides Java APIs for building software on AWS' cost-effective, scalable, and reliable infrastructure products. The AWS Java SDK allows developers to code against APIs for all of Amazon's infrastructure web services (Amazon S3, Amazon EC2, Amazon SQS, Amazon Relational Database Service, Amazon AutoScaling, etc).

There is a newer version: 1.11.60
Show newest version
/*
 * Copyright 2011-2016 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 com.amazonaws.AmazonWebServiceRequest;

/**
 * 

* A complex type that contains the information about the request to list your * traffic policy instances. *

*/ public class ListTrafficPolicyInstancesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable { /** *

* For the first request to ListTrafficPolicyInstances, omit * this value. *

*

* If the value of IsTruncated in the previous response was * true, you have more traffic policy instances. To get the * next group of MaxItems traffic policy instances, submit * another ListTrafficPolicyInstances request. For the value of * HostedZoneIdMarker, 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 * MaxItems 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; /** *

* For the first request to ListTrafficPolicyInstances, omit * this value. *

*

* If the value of IsTruncated in the previous response was * true, TrafficPolicyInstanceNameMarker is the * name of the first traffic policy instance in the next group of * MaxItems 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; /** *

* For the first request to ListTrafficPolicyInstances, omit * this value. *

*

* If the value of IsTruncated in the previous response was * true, TrafficPolicyInstanceTypeMarker is the * DNS type of the first traffic policy instance in the next group of * MaxItems 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 to be included in the * response body for this 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; /** *

* For the first request to ListTrafficPolicyInstances, omit * this value. *

*

* If the value of IsTruncated in the previous response was * true, you have more traffic policy instances. To get the * next group of MaxItems traffic policy instances, submit * another ListTrafficPolicyInstances request. For the value of * HostedZoneIdMarker, 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 * MaxItems 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 * For the first request to ListTrafficPolicyInstances, * omit this value.

*

* If the value of IsTruncated in the previous response * was true, you have more traffic policy instances. To * get the next group of MaxItems traffic policy * instances, submit another ListTrafficPolicyInstances * request. For the value of HostedZoneIdMarker, 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 MaxItems 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; } /** *

* For the first request to ListTrafficPolicyInstances, omit * this value. *

*

* If the value of IsTruncated in the previous response was * true, you have more traffic policy instances. To get the * next group of MaxItems traffic policy instances, submit * another ListTrafficPolicyInstances request. For the value of * HostedZoneIdMarker, 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 * MaxItems traffic policy instances. *

*

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

* * @return For the first request to ListTrafficPolicyInstances, * omit this value.

*

* If the value of IsTruncated in the previous response * was true, you have more traffic policy instances. To * get the next group of MaxItems traffic policy * instances, submit another ListTrafficPolicyInstances * request. For the value of HostedZoneIdMarker, * 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 * MaxItems 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; } /** *

* For the first request to ListTrafficPolicyInstances, omit * this value. *

*

* If the value of IsTruncated in the previous response was * true, you have more traffic policy instances. To get the * next group of MaxItems traffic policy instances, submit * another ListTrafficPolicyInstances request. For the value of * HostedZoneIdMarker, 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 * MaxItems 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 * For the first request to ListTrafficPolicyInstances, * omit this value.

*

* If the value of IsTruncated in the previous response * was true, you have more traffic policy instances. To * get the next group of MaxItems traffic policy * instances, submit another ListTrafficPolicyInstances * request. For the value of HostedZoneIdMarker, 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 MaxItems 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; } /** *

* For the first request to ListTrafficPolicyInstances, omit * this value. *

*

* If the value of IsTruncated in the previous response was * true, TrafficPolicyInstanceNameMarker is the * name of the first traffic policy instance in the next group of * MaxItems 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 * For the first request to ListTrafficPolicyInstances, * omit this value.

*

* If the value of IsTruncated in the previous response * was true, * TrafficPolicyInstanceNameMarker is the name of the * first traffic policy instance in the next group of * MaxItems 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; } /** *

* For the first request to ListTrafficPolicyInstances, omit * this value. *

*

* If the value of IsTruncated in the previous response was * true, TrafficPolicyInstanceNameMarker is the * name of the first traffic policy instance in the next group of * MaxItems traffic policy instances. *

*

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

* * @return For the first request to ListTrafficPolicyInstances, * omit this value.

*

* If the value of IsTruncated in the previous response * was true, * TrafficPolicyInstanceNameMarker is the name of the * first traffic policy instance in the next group of * MaxItems 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; } /** *

* For the first request to ListTrafficPolicyInstances, omit * this value. *

*

* If the value of IsTruncated in the previous response was * true, TrafficPolicyInstanceNameMarker is the * name of the first traffic policy instance in the next group of * MaxItems 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 * For the first request to ListTrafficPolicyInstances, * omit this value.

*

* If the value of IsTruncated in the previous response * was true, * TrafficPolicyInstanceNameMarker is the name of the * first traffic policy instance in the next group of * MaxItems 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; } /** *

* For the first request to ListTrafficPolicyInstances, omit * this value. *

*

* If the value of IsTruncated in the previous response was * true, TrafficPolicyInstanceTypeMarker is the * DNS type of the first traffic policy instance in the next group of * MaxItems 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 * For the first request to ListTrafficPolicyInstances, * omit this value.

*

* If the value of IsTruncated in the previous response * was true, * TrafficPolicyInstanceTypeMarker is the DNS type of * the first traffic policy instance in the next group of * MaxItems 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; } /** *

* For the first request to ListTrafficPolicyInstances, omit * this value. *

*

* If the value of IsTruncated in the previous response was * true, TrafficPolicyInstanceTypeMarker is the * DNS type of the first traffic policy instance in the next group of * MaxItems traffic policy instances. *

*

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

* * @return For the first request to ListTrafficPolicyInstances, * omit this value.

*

* If the value of IsTruncated in the previous response * was true, * TrafficPolicyInstanceTypeMarker is the DNS type of * the first traffic policy instance in the next group of * MaxItems 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; } /** *

* For the first request to ListTrafficPolicyInstances, omit * this value. *

*

* If the value of IsTruncated in the previous response was * true, TrafficPolicyInstanceTypeMarker is the * DNS type of the first traffic policy instance in the next group of * MaxItems 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 * For the first request to ListTrafficPolicyInstances, * omit this value.

*

* If the value of IsTruncated in the previous response * was true, * TrafficPolicyInstanceTypeMarker is the DNS type of * the first traffic policy instance in the next group of * MaxItems 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; } /** *

* For the first request to ListTrafficPolicyInstances, omit * this value. *

*

* If the value of IsTruncated in the previous response was * true, TrafficPolicyInstanceTypeMarker is the * DNS type of the first traffic policy instance in the next group of * MaxItems 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 * For the first request to ListTrafficPolicyInstances, * omit this value.

*

* If the value of IsTruncated in the previous response * was true, * TrafficPolicyInstanceTypeMarker is the DNS type of * the first traffic policy instance in the next group of * MaxItems 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) { this.trafficPolicyInstanceTypeMarker = trafficPolicyInstanceTypeMarker .toString(); } /** *

* For the first request to ListTrafficPolicyInstances, omit * this value. *

*

* If the value of IsTruncated in the previous response was * true, TrafficPolicyInstanceTypeMarker is the * DNS type of the first traffic policy instance in the next group of * MaxItems 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 * For the first request to ListTrafficPolicyInstances, * omit this value.

*

* If the value of IsTruncated in the previous response * was true, * TrafficPolicyInstanceTypeMarker is the DNS type of * the first traffic policy instance in the next group of * MaxItems 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) { setTrafficPolicyInstanceTypeMarker(trafficPolicyInstanceTypeMarker); return this; } /** *

* The maximum number of traffic policy instances to be included in the * response body for this 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 to be included in * the response body for this 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 to be included in the * response body for this 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 to be included in * the response body for this 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 to be included in the * response body for this 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 to be included in * the response body for this 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; useful for testing and * debugging. * * @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: " + getHostedZoneIdMarker() + ","); if (getTrafficPolicyInstanceNameMarker() != null) sb.append("TrafficPolicyInstanceNameMarker: " + getTrafficPolicyInstanceNameMarker() + ","); if (getTrafficPolicyInstanceTypeMarker() != null) sb.append("TrafficPolicyInstanceTypeMarker: " + getTrafficPolicyInstanceTypeMarker() + ","); if (getMaxItems() != null) sb.append("MaxItems: " + 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