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

com.amazonaws.services.route53.model.ListTrafficPolicyInstancesByHostedZoneRequest 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

There is a newer version: 1.11.98
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 request for the traffic policy instances that you created in a specified * hosted zone. *

*/ public class ListTrafficPolicyInstancesByHostedZoneRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *

* The ID of the hosted zone for which you want to list traffic policy * instances. *

*/ private String hostedZoneId; /** *

* For the first request to * ListTrafficPolicyInstancesByHostedZone, 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 for * this hosted zone. *

*

* If the value of IsTruncated in the previous response was * false, omit this value. *

*/ private String trafficPolicyInstanceNameMarker; /** *

* For the first request to * ListTrafficPolicyInstancesByHostedZone, 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 for * this hosted zone. *

*/ 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; /** *

* The ID of the hosted zone for which you want to list traffic policy * instances. *

* * @param hostedZoneId * The ID of the hosted zone for which you want to list traffic * policy instances. */ public void setHostedZoneId(String hostedZoneId) { this.hostedZoneId = hostedZoneId; } /** *

* The ID of the hosted zone for which you want to list traffic policy * instances. *

* * @return The ID of the hosted zone for which you want to list traffic * policy instances. */ public String getHostedZoneId() { return this.hostedZoneId; } /** *

* The ID of the hosted zone for which you want to list traffic policy * instances. *

* * @param hostedZoneId * The ID of the hosted zone for which you want to list traffic * policy instances. * @return Returns a reference to this object so that method calls can be * chained together. */ public ListTrafficPolicyInstancesByHostedZoneRequest withHostedZoneId( String hostedZoneId) { setHostedZoneId(hostedZoneId); return this; } /** *

* For the first request to * ListTrafficPolicyInstancesByHostedZone, 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 for * this hosted zone. *

*

* If the value of IsTruncated in the previous response was * false, omit this value. *

* * @param trafficPolicyInstanceNameMarker * For the first request to * ListTrafficPolicyInstancesByHostedZone, 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 for this hosted zone. *

*

* If the value of IsTruncated in the previous response * was false, omit this value. */ public void setTrafficPolicyInstanceNameMarker( String trafficPolicyInstanceNameMarker) { this.trafficPolicyInstanceNameMarker = trafficPolicyInstanceNameMarker; } /** *

* For the first request to * ListTrafficPolicyInstancesByHostedZone, 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 for * this hosted zone. *

*

* If the value of IsTruncated in the previous response was * false, omit this value. *

* * @return For the first request to * ListTrafficPolicyInstancesByHostedZone, 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 for this hosted zone. *

*

* If the value of IsTruncated in the previous response * was false, omit this value. */ public String getTrafficPolicyInstanceNameMarker() { return this.trafficPolicyInstanceNameMarker; } /** *

* For the first request to * ListTrafficPolicyInstancesByHostedZone, 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 for * this hosted zone. *

*

* If the value of IsTruncated in the previous response was * false, omit this value. *

* * @param trafficPolicyInstanceNameMarker * For the first request to * ListTrafficPolicyInstancesByHostedZone, 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 for this hosted zone. *

*

* If the value of IsTruncated in the previous response * was false, omit this value. * @return Returns a reference to this object so that method calls can be * chained together. */ public ListTrafficPolicyInstancesByHostedZoneRequest withTrafficPolicyInstanceNameMarker( String trafficPolicyInstanceNameMarker) { setTrafficPolicyInstanceNameMarker(trafficPolicyInstanceNameMarker); return this; } /** *

* For the first request to * ListTrafficPolicyInstancesByHostedZone, 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 for * this hosted zone. *

* * @param trafficPolicyInstanceTypeMarker * For the first request to * ListTrafficPolicyInstancesByHostedZone, 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 for this hosted zone. * @see RRType */ public void setTrafficPolicyInstanceTypeMarker( String trafficPolicyInstanceTypeMarker) { this.trafficPolicyInstanceTypeMarker = trafficPolicyInstanceTypeMarker; } /** *

* For the first request to * ListTrafficPolicyInstancesByHostedZone, 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 for * this hosted zone. *

* * @return For the first request to * ListTrafficPolicyInstancesByHostedZone, 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 for this hosted zone. * @see RRType */ public String getTrafficPolicyInstanceTypeMarker() { return this.trafficPolicyInstanceTypeMarker; } /** *

* For the first request to * ListTrafficPolicyInstancesByHostedZone, 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 for * this hosted zone. *

* * @param trafficPolicyInstanceTypeMarker * For the first request to * ListTrafficPolicyInstancesByHostedZone, 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 for this hosted zone. * @return Returns a reference to this object so that method calls can be * chained together. * @see RRType */ public ListTrafficPolicyInstancesByHostedZoneRequest withTrafficPolicyInstanceTypeMarker( String trafficPolicyInstanceTypeMarker) { setTrafficPolicyInstanceTypeMarker(trafficPolicyInstanceTypeMarker); return this; } /** *

* For the first request to * ListTrafficPolicyInstancesByHostedZone, 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 for * this hosted zone. *

* * @param trafficPolicyInstanceTypeMarker * For the first request to * ListTrafficPolicyInstancesByHostedZone, 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 for this hosted zone. * @see RRType */ public void setTrafficPolicyInstanceTypeMarker( RRType trafficPolicyInstanceTypeMarker) { this.trafficPolicyInstanceTypeMarker = trafficPolicyInstanceTypeMarker .toString(); } /** *

* For the first request to * ListTrafficPolicyInstancesByHostedZone, 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 for * this hosted zone. *

* * @param trafficPolicyInstanceTypeMarker * For the first request to * ListTrafficPolicyInstancesByHostedZone, 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 for this hosted zone. * @return Returns a reference to this object so that method calls can be * chained together. * @see RRType */ public ListTrafficPolicyInstancesByHostedZoneRequest 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 ListTrafficPolicyInstancesByHostedZoneRequest 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 (getHostedZoneId() != null) sb.append("HostedZoneId: " + getHostedZoneId() + ","); 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 ListTrafficPolicyInstancesByHostedZoneRequest == false) return false; ListTrafficPolicyInstancesByHostedZoneRequest other = (ListTrafficPolicyInstancesByHostedZoneRequest) obj; if (other.getHostedZoneId() == null ^ this.getHostedZoneId() == null) return false; if (other.getHostedZoneId() != null && other.getHostedZoneId().equals(this.getHostedZoneId()) == 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 + ((getHostedZoneId() == null) ? 0 : getHostedZoneId() .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 ListTrafficPolicyInstancesByHostedZoneRequest clone() { return (ListTrafficPolicyInstancesByHostedZoneRequest) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy