com.amazonaws.services.route53.model.ListTrafficPolicyInstancesByPolicyRequest Maven / Gradle / Ivy
/*
* 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 complex type that contains the information about the request to list your traffic policy instances.
*
*
* @see AWS API Documentation
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class ListTrafficPolicyInstancesByPolicyRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable {
/**
*
* The ID of the traffic policy for which you want to list traffic policy instances.
*
*/
private String trafficPolicyId;
/**
*
* The version of the traffic policy for which you want to list traffic policy instances. The version must be
* associated with the traffic policy that is specified by TrafficPolicyId
.
*
*/
private Integer trafficPolicyVersion;
/**
*
* 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
* ListTrafficPolicyInstancesByPolicy
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 that Amazon Route 53 will
* return if you submit another request.
*
*
* 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
* ListTrafficPolicyInstancesByPolicy
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 that Amazon Route 53 will return if you submit another request.
*
*
* 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
* ListTrafficPolicyInstancesByPolicy
request.
*
*
* For the value of trafficpolicyinstancetype
, specify the value of
* TrafficPolicyInstanceTypeMarker
from the previous response, which is the name of the first traffic
* policy instance that Amazon Route 53 will return if you submit another request.
*
*
* 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 that Amazon Route 53 will return if you submit another request.
*
*/
private String maxItems;
/**
*
* The ID of the traffic policy for which you want to list traffic policy instances.
*
*
* @param trafficPolicyId
* The ID of the traffic policy for which you want to list traffic policy instances.
*/
public void setTrafficPolicyId(String trafficPolicyId) {
this.trafficPolicyId = trafficPolicyId;
}
/**
*
* The ID of the traffic policy for which you want to list traffic policy instances.
*
*
* @return The ID of the traffic policy for which you want to list traffic policy instances.
*/
public String getTrafficPolicyId() {
return this.trafficPolicyId;
}
/**
*
* The ID of the traffic policy for which you want to list traffic policy instances.
*
*
* @param trafficPolicyId
* The ID of the traffic policy 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 ListTrafficPolicyInstancesByPolicyRequest withTrafficPolicyId(String trafficPolicyId) {
setTrafficPolicyId(trafficPolicyId);
return this;
}
/**
*
* The version of the traffic policy for which you want to list traffic policy instances. The version must be
* associated with the traffic policy that is specified by TrafficPolicyId
.
*
*
* @param trafficPolicyVersion
* The version of the traffic policy for which you want to list traffic policy instances. The version must be
* associated with the traffic policy that is specified by TrafficPolicyId
.
*/
public void setTrafficPolicyVersion(Integer trafficPolicyVersion) {
this.trafficPolicyVersion = trafficPolicyVersion;
}
/**
*
* The version of the traffic policy for which you want to list traffic policy instances. The version must be
* associated with the traffic policy that is specified by TrafficPolicyId
.
*
*
* @return The version of the traffic policy for which you want to list traffic policy instances. The version must
* be associated with the traffic policy that is specified by TrafficPolicyId
.
*/
public Integer getTrafficPolicyVersion() {
return this.trafficPolicyVersion;
}
/**
*
* The version of the traffic policy for which you want to list traffic policy instances. The version must be
* associated with the traffic policy that is specified by TrafficPolicyId
.
*
*
* @param trafficPolicyVersion
* The version of the traffic policy for which you want to list traffic policy instances. The version must be
* associated with the traffic policy that is specified by TrafficPolicyId
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public ListTrafficPolicyInstancesByPolicyRequest withTrafficPolicyVersion(Integer trafficPolicyVersion) {
setTrafficPolicyVersion(trafficPolicyVersion);
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
* ListTrafficPolicyInstancesByPolicy
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 that Amazon Route 53 will
* return if you submit another request.
*
*
* 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
* ListTrafficPolicyInstancesByPolicy
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 that Amazon Route 53
* will return if you submit another request.
*
*
* 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
* ListTrafficPolicyInstancesByPolicy
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 that Amazon Route 53 will
* return if you submit another request.
*
*
* 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
* ListTrafficPolicyInstancesByPolicy
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 that Amazon Route 53
* will return if you submit another request.
*
*
* 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
* ListTrafficPolicyInstancesByPolicy
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 that Amazon Route 53 will
* return if you submit another request.
*
*
* 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
* ListTrafficPolicyInstancesByPolicy
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 that Amazon Route 53
* will return if you submit another request.
*
*
* 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 ListTrafficPolicyInstancesByPolicyRequest 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
* ListTrafficPolicyInstancesByPolicy
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 that Amazon Route 53 will return if you submit another request.
*
*
* 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
* ListTrafficPolicyInstancesByPolicy
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 that Amazon Route 53 will return if you submit another request.
*
*
* 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
* ListTrafficPolicyInstancesByPolicy
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 that Amazon Route 53 will return if you submit another request.
*
*
* 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
* ListTrafficPolicyInstancesByPolicy
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 that Amazon Route 53 will return if you submit another request.
*
*
* 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
* ListTrafficPolicyInstancesByPolicy
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 that Amazon Route 53 will return if you submit another request.
*
*
* 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
* ListTrafficPolicyInstancesByPolicy
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 that Amazon Route 53 will return if you submit another request.
*
*
* 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 ListTrafficPolicyInstancesByPolicyRequest 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
* ListTrafficPolicyInstancesByPolicy
request.
*
*
* For the value of trafficpolicyinstancetype
, specify the value of
* TrafficPolicyInstanceTypeMarker
from the previous response, which is the name of the first traffic
* policy instance that Amazon Route 53 will return if you submit another request.
*
*
* 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
* ListTrafficPolicyInstancesByPolicy
request.
*
* For the value of trafficpolicyinstancetype
, specify the value of
* TrafficPolicyInstanceTypeMarker
from the previous response, which is the name of the first
* traffic policy instance that Amazon Route 53 will return if you submit another request.
*
*
* 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
* ListTrafficPolicyInstancesByPolicy
request.
*
*
* For the value of trafficpolicyinstancetype
, specify the value of
* TrafficPolicyInstanceTypeMarker
from the previous response, which is the name of the first traffic
* policy instance that Amazon Route 53 will return if you submit another request.
*
*
* 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
* ListTrafficPolicyInstancesByPolicy
request.
*
* For the value of trafficpolicyinstancetype
, specify the value of
* TrafficPolicyInstanceTypeMarker
from the previous response, which is the name of the first
* traffic policy instance that Amazon Route 53 will return if you submit another request.
*
*
* 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
* ListTrafficPolicyInstancesByPolicy
request.
*
*
* For the value of trafficpolicyinstancetype
, specify the value of
* TrafficPolicyInstanceTypeMarker
from the previous response, which is the name of the first traffic
* policy instance that Amazon Route 53 will return if you submit another request.
*
*
* 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
* ListTrafficPolicyInstancesByPolicy
request.
*
* For the value of trafficpolicyinstancetype
, specify the value of
* TrafficPolicyInstanceTypeMarker
from the previous response, which is the name of the first
* traffic policy instance that Amazon Route 53 will return if you submit another request.
*
*
* 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 ListTrafficPolicyInstancesByPolicyRequest 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
* ListTrafficPolicyInstancesByPolicy
request.
*
*
* For the value of trafficpolicyinstancetype
, specify the value of
* TrafficPolicyInstanceTypeMarker
from the previous response, which is the name of the first traffic
* policy instance that Amazon Route 53 will return if you submit another request.
*
*
* 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
* ListTrafficPolicyInstancesByPolicy
request.
*
* For the value of trafficpolicyinstancetype
, specify the value of
* TrafficPolicyInstanceTypeMarker
from the previous response, which is the name of the first
* traffic policy instance that Amazon Route 53 will return if you submit another request.
*
*
* 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
* ListTrafficPolicyInstancesByPolicy
request.
*
*
* For the value of trafficpolicyinstancetype
, specify the value of
* TrafficPolicyInstanceTypeMarker
from the previous response, which is the name of the first traffic
* policy instance that Amazon Route 53 will return if you submit another request.
*
*
* 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
* ListTrafficPolicyInstancesByPolicy
request.
*
* For the value of trafficpolicyinstancetype
, specify the value of
* TrafficPolicyInstanceTypeMarker
from the previous response, which is the name of the first
* traffic policy instance that Amazon Route 53 will return if you submit another request.
*
*
* 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 ListTrafficPolicyInstancesByPolicyRequest withTrafficPolicyInstanceTypeMarker(RRType trafficPolicyInstanceTypeMarker) {
this.trafficPolicyInstanceTypeMarker = trafficPolicyInstanceTypeMarker.toString();
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 that Amazon Route 53 will return if you submit another request.
*
*
* @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 that Amazon Route
* 53 will return if you submit another request.
*/
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 that Amazon Route 53 will return if you submit another request.
*
*
* @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 that Amazon
* Route 53 will return if you submit another request.
*/
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 that Amazon Route 53 will return if you submit another request.
*
*
* @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 that Amazon Route
* 53 will return if you submit another request.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public ListTrafficPolicyInstancesByPolicyRequest 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 (getTrafficPolicyId() != null)
sb.append("TrafficPolicyId: ").append(getTrafficPolicyId()).append(",");
if (getTrafficPolicyVersion() != null)
sb.append("TrafficPolicyVersion: ").append(getTrafficPolicyVersion()).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 ListTrafficPolicyInstancesByPolicyRequest == false)
return false;
ListTrafficPolicyInstancesByPolicyRequest other = (ListTrafficPolicyInstancesByPolicyRequest) obj;
if (other.getTrafficPolicyId() == null ^ this.getTrafficPolicyId() == null)
return false;
if (other.getTrafficPolicyId() != null && other.getTrafficPolicyId().equals(this.getTrafficPolicyId()) == false)
return false;
if (other.getTrafficPolicyVersion() == null ^ this.getTrafficPolicyVersion() == null)
return false;
if (other.getTrafficPolicyVersion() != null && other.getTrafficPolicyVersion().equals(this.getTrafficPolicyVersion()) == false)
return false;
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 + ((getTrafficPolicyId() == null) ? 0 : getTrafficPolicyId().hashCode());
hashCode = prime * hashCode + ((getTrafficPolicyVersion() == null) ? 0 : getTrafficPolicyVersion().hashCode());
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 ListTrafficPolicyInstancesByPolicyRequest clone() {
return (ListTrafficPolicyInstancesByPolicyRequest) super.clone();
}
}