Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   * Copyright 2010-2015 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;
 

A complex type that contains the response for the request.

 
 public class ListReusableDelegationSetsResult implements SerializableCloneable {

    
A complex type that contains information about the reusable delegation sets associated with the current AWS account.
 
If the request returned more than one page of results, submit another request and specify the value of NextMarker from the last response in the marker parameter to get the next page of results.

Constraints:
Length: 0 - 64

 
     private String marker;

    
A flag indicating whether there are more reusable delegation sets to be listed. If your results were truncated, you can make a follow-up request for the next page of results by using the Marker element.

Valid Values: true | false

 
     private Boolean isTruncated;

    
Indicates where to continue listing reusable delegation sets. If ListReusableDelegationSetsResponse$IsTruncated is true, make another request to ListReusableDelegationSets and include the value of the NextMarker element in the Marker element to get the next page of results.

Constraints:
Length: 0 - 64

 
     private String nextMarker;

    
The maximum number of reusable delegation sets to be included in the response body. If the number of reusable delegation sets associated with this AWS account exceeds MaxItems, the value of ListReusablDelegationSetsResponse$IsTruncated in the response is true. Call ListReusableDelegationSets again and specify the value of ListReusableDelegationSetsResponse$NextMarker in the ListReusableDelegationSetsRequest$Marker element to get the next page of results.
 
     private String maxItems;

    
A complex type that contains information about the reusable delegation sets associated with the current AWS account.

Returns:
A complex type that contains information about the reusable delegation sets associated with the current AWS account.
 
         if ( == null) {
               .setAutoConstruct(true);
         }
         return ;
     }
    
    
A complex type that contains information about the reusable delegation sets associated with the current AWS account.

Parameters:
delegationSets A complex type that contains information about the reusable delegation sets associated with the current AWS account.
 
     public void setDelegationSets(java.util.Collection<DelegationSetdelegationSets) {
        if (delegationSets == null) {
            this. = null;
            return;
        }
        delegationSetsCopy.addAll(delegationSets);
        this. = delegationSetsCopy;
    }
    
    
A complex type that contains information about the reusable delegation sets associated with the current AWS account.

NOTE: This method appends the values to the existing list (if any). Use setDelegationSets(java.util.Collection) or withDelegationSets(java.util.Collection) if you want to override the existing values.

Returns a reference to this object so that method calls can be chained together.

Parameters:
delegationSets A complex type that contains information about the reusable delegation sets associated with the current AWS account.
Returns:
A reference to this updated object so that method calls can be chained together.
        if (getDelegationSets() == nullsetDelegationSets(new java.util.ArrayList<DelegationSet>(delegationSets.length));
        for (DelegationSet value : delegationSets) {
            getDelegationSets().add(value);
        }
        return this;
    }
    
    
A complex type that contains information about the reusable delegation sets associated with the current AWS account.

Returns a reference to this object so that method calls can be chained together.

Parameters:
delegationSets A complex type that contains information about the reusable delegation sets associated with the current AWS account.
Returns:
A reference to this updated object so that method calls can be chained together.
        if (delegationSets == null) {
            this. = null;
        } else {
            com.amazonaws.internal.ListWithAutoConstructFlag<DelegationSetdelegationSetsCopy = new com.amazonaws.internal.ListWithAutoConstructFlag<DelegationSet>(delegationSets.size());
            delegationSetsCopy.addAll(delegationSets);
            this. = delegationSetsCopy;
        }
        return this;
    }

    
If the request returned more than one page of results, submit another request and specify the value of NextMarker from the last response in the marker parameter to get the next page of results.

Constraints:
Length: 0 - 64

Returns:
If the request returned more than one page of results, submit another request and specify the value of NextMarker from the last response in the marker parameter to get the next page of results.
    public String getMarker() {
        return ;
    }
    
    
If the request returned more than one page of results, submit another request and specify the value of NextMarker from the last response in the marker parameter to get the next page of results.

Constraints:
Length: 0 - 64

Parameters:
marker If the request returned more than one page of results, submit another request and specify the value of NextMarker from the last response in the marker parameter to get the next page of results.
    public void setMarker(String marker) {
        this. = marker;
    }
    
    
If the request returned more than one page of results, submit another request and specify the value of NextMarker from the last response in the marker parameter to get the next page of results.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 0 - 64

Parameters:
marker If the request returned more than one page of results, submit another request and specify the value of NextMarker from the last response in the marker parameter to get the next page of results.
Returns:
A reference to this updated object so that method calls can be chained together.
        this. = marker;
        return this;
    }

    
A flag indicating whether there are more reusable delegation sets to be listed. If your results were truncated, you can make a follow-up request for the next page of results by using the Marker element.

Valid Values: true | false

Returns:
A flag indicating whether there are more reusable delegation sets to be listed. If your results were truncated, you can make a follow-up request for the next page of results by using the Marker element.

Valid Values: true | false

    public Boolean isTruncated() {
        return ;
    }
    
    
A flag indicating whether there are more reusable delegation sets to be listed. If your results were truncated, you can make a follow-up request for the next page of results by using the Marker element.

Valid Values: true | false

Parameters:
isTruncated A flag indicating whether there are more reusable delegation sets to be listed. If your results were truncated, you can make a follow-up request for the next page of results by using the Marker element.

Valid Values: true | false

    public void setIsTruncated(Boolean isTruncated) {
        this. = isTruncated;
    }
    
    
A flag indicating whether there are more reusable delegation sets to be listed. If your results were truncated, you can make a follow-up request for the next page of results by using the Marker element.

Valid Values: true | false

Returns a reference to this object so that method calls can be chained together.

Parameters:
isTruncated A flag indicating whether there are more reusable delegation sets to be listed. If your results were truncated, you can make a follow-up request for the next page of results by using the Marker element.

Valid Values: true | false

Returns:
A reference to this updated object so that method calls can be chained together.
        this. = isTruncated;
        return this;
    }

    
A flag indicating whether there are more reusable delegation sets to be listed. If your results were truncated, you can make a follow-up request for the next page of results by using the Marker element.

Valid Values: true | false

Returns:
A flag indicating whether there are more reusable delegation sets to be listed. If your results were truncated, you can make a follow-up request for the next page of results by using the Marker element.

Valid Values: true | false

    public Boolean getIsTruncated() {
        return ;
    }

    
Indicates where to continue listing reusable delegation sets. If ListReusableDelegationSetsResponse$IsTruncated is true, make another request to ListReusableDelegationSets and include the value of the NextMarker element in the Marker element to get the next page of results.

Constraints:
Length: 0 - 64

Returns:
Indicates where to continue listing reusable delegation sets. If ListReusableDelegationSetsResponse$IsTruncated is true, make another request to ListReusableDelegationSets and include the value of the NextMarker element in the Marker element to get the next page of results.
    public String getNextMarker() {
        return ;
    }
    
    
Indicates where to continue listing reusable delegation sets. If ListReusableDelegationSetsResponse$IsTruncated is true, make another request to ListReusableDelegationSets and include the value of the NextMarker element in the Marker element to get the next page of results.

Constraints:
Length: 0 - 64

Parameters:
nextMarker Indicates where to continue listing reusable delegation sets. If ListReusableDelegationSetsResponse$IsTruncated is true, make another request to ListReusableDelegationSets and include the value of the NextMarker element in the Marker element to get the next page of results.
    public void setNextMarker(String nextMarker) {
        this. = nextMarker;
    }
    
    
Indicates where to continue listing reusable delegation sets. If ListReusableDelegationSetsResponse$IsTruncated is true, make another request to ListReusableDelegationSets and include the value of the NextMarker element in the Marker element to get the next page of results.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 0 - 64

Parameters:
nextMarker Indicates where to continue listing reusable delegation sets. If ListReusableDelegationSetsResponse$IsTruncated is true, make another request to ListReusableDelegationSets and include the value of the NextMarker element in the Marker element to get the next page of results.
Returns:
A reference to this updated object so that method calls can be chained together.
        this. = nextMarker;
        return this;
    }

    
The maximum number of reusable delegation sets to be included in the response body. If the number of reusable delegation sets associated with this AWS account exceeds MaxItems, the value of ListReusablDelegationSetsResponse$IsTruncated in the response is true. Call ListReusableDelegationSets again and specify the value of ListReusableDelegationSetsResponse$NextMarker in the ListReusableDelegationSetsRequest$Marker element to get the next page of results.

Returns:
The maximum number of reusable delegation sets to be included in the response body. If the number of reusable delegation sets associated with this AWS account exceeds MaxItems, the value of ListReusablDelegationSetsResponse$IsTruncated in the response is true. Call ListReusableDelegationSets again and specify the value of ListReusableDelegationSetsResponse$NextMarker in the ListReusableDelegationSetsRequest$Marker element to get the next page of results.
    public String getMaxItems() {
        return ;
    }
    
    
The maximum number of reusable delegation sets to be included in the response body. If the number of reusable delegation sets associated with this AWS account exceeds MaxItems, the value of ListReusablDelegationSetsResponse$IsTruncated in the response is true. Call ListReusableDelegationSets again and specify the value of ListReusableDelegationSetsResponse$NextMarker in the ListReusableDelegationSetsRequest$Marker element to get the next page of results.

Parameters:
maxItems The maximum number of reusable delegation sets to be included in the response body. If the number of reusable delegation sets associated with this AWS account exceeds MaxItems, the value of ListReusablDelegationSetsResponse$IsTruncated in the response is true. Call ListReusableDelegationSets again and specify the value of ListReusableDelegationSetsResponse$NextMarker in the ListReusableDelegationSetsRequest$Marker element to get the next page of results.
    public void setMaxItems(String maxItems) {
        this. = maxItems;
    }
    
    
The maximum number of reusable delegation sets to be included in the response body. If the number of reusable delegation sets associated with this AWS account exceeds MaxItems, the value of ListReusablDelegationSetsResponse$IsTruncated in the response is true. Call ListReusableDelegationSets again and specify the value of ListReusableDelegationSetsResponse$NextMarker in the ListReusableDelegationSetsRequest$Marker element to get the next page of results.

Returns a reference to this object so that method calls can be chained together.

Parameters:
maxItems The maximum number of reusable delegation sets to be included in the response body. If the number of reusable delegation sets associated with this AWS account exceeds MaxItems, the value of ListReusablDelegationSetsResponse$IsTruncated in the response is true. Call ListReusableDelegationSets again and specify the value of ListReusableDelegationSetsResponse$NextMarker in the ListReusableDelegationSetsRequest$Marker element to get the next page of results.
Returns:
A reference to this updated object so that method calls can be chained together.
        this. = maxItems;
        return this;
    }

    
Returns a string representation of this object; useful for testing and debugging.

Returns:
A string representation of this object.
See also:
java.lang.Object.toString()
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getDelegationSets() != nullsb.append("DelegationSets: " + getDelegationSets() + ",");
        if (getMarker() != nullsb.append("Marker: " + getMarker() + ",");
        if (isTruncated() != nullsb.append("IsTruncated: " + isTruncated() + ",");
        if (getNextMarker() != nullsb.append("NextMarker: " + getNextMarker() + ",");
        if (getMaxItems() != nullsb.append("MaxItems: " + getMaxItems() );
        sb.append("}");
        return sb.toString();
    }
    
    @Override
    public int hashCode() {
        final int prime = 31;
        int hashCode = 1;
        
        hashCode = prime * hashCode + ((getDelegationSets() == null) ? 0 : getDelegationSets().hashCode()); 
        hashCode = prime * hashCode + ((getMarker() == null) ? 0 : getMarker().hashCode()); 
        hashCode = prime * hashCode + ((isTruncated() == null) ? 0 : isTruncated().hashCode()); 
        hashCode = prime * hashCode + ((getNextMarker() == null) ? 0 : getNextMarker().hashCode()); 
        hashCode = prime * hashCode + ((getMaxItems() == null) ? 0 : getMaxItems().hashCode()); 
        return hashCode;
    }
    
    @Override
    public boolean equals(Object obj) {
        if (this == objreturn true;
        if (obj == nullreturn false;
        if (obj instanceof ListReusableDelegationSetsResult == falsereturn false;
        
        if (other.getDelegationSets() == null ^ this.getDelegationSets() == nullreturn false;
        if (other.getDelegationSets() != null && other.getDelegationSets().equals(this.getDelegationSets()) == falsereturn false
        if (other.getMarker() == null ^ this.getMarker() == nullreturn false;
        if (other.getMarker() != null && other.getMarker().equals(this.getMarker()) == falsereturn false
        if (other.isTruncated() == null ^ this.isTruncated() == nullreturn false;
        if (other.isTruncated() != null && other.isTruncated().equals(this.isTruncated()) == falsereturn false
        if (other.getNextMarker() == null ^ this.getNextMarker() == nullreturn false;
        if (other.getNextMarker() != null && other.getNextMarker().equals(this.getNextMarker()) == falsereturn false
        if (other.getMaxItems() == null ^ this.getMaxItems() == nullreturn false;
        if (other.getMaxItems() != null && other.getMaxItems().equals(this.getMaxItems()) == falsereturn false
        return true;
    }
    
    @Override
        try {
            return (ListReusableDelegationSetsResultsuper.clone();
        
        } catch (CloneNotSupportedException e) {
            throw new IllegalStateException(
                    "Got a CloneNotSupportedException from Object.clone() "
                    + "even though we're Cloneable!",
                    e);
        }
        
    }
}
    
New to GrepCode? Check out our FAQ X