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.datapipeline.model;
 
 
Container for the parameters to the DescribeObjects operation.

Gets the object definitions for a set of objects associated with the pipeline. Object definitions are composed of a set of fields that define the properties of the object.

 
 public class DescribeObjectsRequest extends AmazonWebServiceRequest implements SerializableCloneable {

    
The ID of the pipeline that contains the object definitions.

Constraints:
Length: 1 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

 
     private String pipelineId;

    
The IDs of the pipeline objects that contain the definitions to be described. You can pass as many as 25 identifiers in a single call to DescribeObjects.
 
Indicates whether any expressions in the object should be evaluated when the object descriptions are returned.
 
     private Boolean evaluateExpressions;

    
The starting point for the results to be returned. For the first call, this value should be empty. As long as there are more results, continue to call DescribeObjects with the marker value from the previous call to retrieve the next set of results.

Constraints:
Length: 0 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

 
     private String marker;

    
The ID of the pipeline that contains the object definitions.

Constraints:
Length: 1 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

Returns:
The ID of the pipeline that contains the object definitions.
 
     public String getPipelineId() {
         return ;
     }
    
    
The ID of the pipeline that contains the object definitions.

Constraints:
Length: 1 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

Parameters:
pipelineId The ID of the pipeline that contains the object definitions.
 
     public void setPipelineId(String pipelineId) {
         this. = pipelineId;
     }
    
    
The ID of the pipeline that contains the object definitions.

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

Constraints:
Length: 1 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

Parameters:
pipelineId The ID of the pipeline that contains the object definitions.
Returns:
A reference to this updated object so that method calls can be chained together.
    public DescribeObjectsRequest withPipelineId(String pipelineId) {
        this. = pipelineId;
        return this;
    }

    
The IDs of the pipeline objects that contain the definitions to be described. You can pass as many as 25 identifiers in a single call to DescribeObjects.

Returns:
The IDs of the pipeline objects that contain the definitions to be described. You can pass as many as 25 identifiers in a single call to DescribeObjects.
    public java.util.List<StringgetObjectIds() {
        if ( == null) {
               = new com.amazonaws.internal.ListWithAutoConstructFlag<String>();
              .setAutoConstruct(true);
        }
        return ;
    }
    
    
The IDs of the pipeline objects that contain the definitions to be described. You can pass as many as 25 identifiers in a single call to DescribeObjects.

Parameters:
objectIds The IDs of the pipeline objects that contain the definitions to be described. You can pass as many as 25 identifiers in a single call to DescribeObjects.
    public void setObjectIds(java.util.Collection<StringobjectIds) {
        if (objectIds == null) {
            this. = null;
            return;
        }
        objectIdsCopy.addAll(objectIds);
        this. = objectIdsCopy;
    }
    
    
The IDs of the pipeline objects that contain the definitions to be described. You can pass as many as 25 identifiers in a single call to DescribeObjects.

NOTE: This method appends the values to the existing list (if any). Use setObjectIds(java.util.Collection) or withObjectIds(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:
objectIds The IDs of the pipeline objects that contain the definitions to be described. You can pass as many as 25 identifiers in a single call to DescribeObjects.
Returns:
A reference to this updated object so that method calls can be chained together.
    public DescribeObjectsRequest withObjectIds(String... objectIds) {
        if (getObjectIds() == nullsetObjectIds(new java.util.ArrayList<String>(objectIds.length));
        for (String value : objectIds) {
            getObjectIds().add(value);
        }
        return this;
    }
    
    
The IDs of the pipeline objects that contain the definitions to be described. You can pass as many as 25 identifiers in a single call to DescribeObjects.

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

Parameters:
objectIds The IDs of the pipeline objects that contain the definitions to be described. You can pass as many as 25 identifiers in a single call to DescribeObjects.
Returns:
A reference to this updated object so that method calls can be chained together.
        if (objectIds == null) {
            this. = null;
        } else {
            com.amazonaws.internal.ListWithAutoConstructFlag<StringobjectIdsCopy = new com.amazonaws.internal.ListWithAutoConstructFlag<String>(objectIds.size());
            objectIdsCopy.addAll(objectIds);
            this. = objectIdsCopy;
        }
        return this;
    }

    
Indicates whether any expressions in the object should be evaluated when the object descriptions are returned.

Returns:
Indicates whether any expressions in the object should be evaluated when the object descriptions are returned.
    public Boolean isEvaluateExpressions() {
        return ;
    }
    
    
Indicates whether any expressions in the object should be evaluated when the object descriptions are returned.

Parameters:
evaluateExpressions Indicates whether any expressions in the object should be evaluated when the object descriptions are returned.
    public void setEvaluateExpressions(Boolean evaluateExpressions) {
        this. = evaluateExpressions;
    }
    
    
Indicates whether any expressions in the object should be evaluated when the object descriptions are returned.

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

Parameters:
evaluateExpressions Indicates whether any expressions in the object should be evaluated when the object descriptions are returned.
Returns:
A reference to this updated object so that method calls can be chained together.
    public DescribeObjectsRequest withEvaluateExpressions(Boolean evaluateExpressions) {
        this. = evaluateExpressions;
        return this;
    }

    
Indicates whether any expressions in the object should be evaluated when the object descriptions are returned.

Returns:
Indicates whether any expressions in the object should be evaluated when the object descriptions are returned.
    public Boolean getEvaluateExpressions() {
        return ;
    }

    
The starting point for the results to be returned. For the first call, this value should be empty. As long as there are more results, continue to call DescribeObjects with the marker value from the previous call to retrieve the next set of results.

Constraints:
Length: 0 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

Returns:
The starting point for the results to be returned. For the first call, this value should be empty. As long as there are more results, continue to call DescribeObjects with the marker value from the previous call to retrieve the next set of results.
    public String getMarker() {
        return ;
    }
    
    
The starting point for the results to be returned. For the first call, this value should be empty. As long as there are more results, continue to call DescribeObjects with the marker value from the previous call to retrieve the next set of results.

Constraints:
Length: 0 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

Parameters:
marker The starting point for the results to be returned. For the first call, this value should be empty. As long as there are more results, continue to call DescribeObjects with the marker value from the previous call to retrieve the next set of results.
    public void setMarker(String marker) {
        this. = marker;
    }
    
    
The starting point for the results to be returned. For the first call, this value should be empty. As long as there are more results, continue to call DescribeObjects with the marker value from the previous call to retrieve the next set of results.

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

Constraints:
Length: 0 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

Parameters:
marker The starting point for the results to be returned. For the first call, this value should be empty. As long as there are more results, continue to call DescribeObjects with the marker value from the previous call to retrieve the next set of results.
Returns:
A reference to this updated object so that method calls can be chained together.
    public DescribeObjectsRequest withMarker(String marker) {
        this. = marker;
        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 (getPipelineId() != nullsb.append("PipelineId: " + getPipelineId() + ",");
        if (getObjectIds() != nullsb.append("ObjectIds: " + getObjectIds() + ",");
        if (isEvaluateExpressions() != nullsb.append("EvaluateExpressions: " + isEvaluateExpressions() + ",");
        if (getMarker() != nullsb.append("Marker: " + getMarker() );
        sb.append("}");
        return sb.toString();
    }
    
    @Override
    public int hashCode() {
        final int prime = 31;
        int hashCode = 1;
        
        hashCode = prime * hashCode + ((getPipelineId() == null) ? 0 : getPipelineId().hashCode()); 
        hashCode = prime * hashCode + ((getObjectIds() == null) ? 0 : getObjectIds().hashCode()); 
        hashCode = prime * hashCode + ((isEvaluateExpressions() == null) ? 0 : isEvaluateExpressions().hashCode()); 
        hashCode = prime * hashCode + ((getMarker() == null) ? 0 : getMarker().hashCode()); 
        return hashCode;
    }
    
    @Override
    public boolean equals(Object obj) {
        if (this == objreturn true;
        if (obj == nullreturn false;
        if (obj instanceof DescribeObjectsRequest == falsereturn false;
        DescribeObjectsRequest other = (DescribeObjectsRequest)obj;
        
        if (other.getPipelineId() == null ^ this.getPipelineId() == nullreturn false;
        if (other.getPipelineId() != null && other.getPipelineId().equals(this.getPipelineId()) == falsereturn false
        if (other.getObjectIds() == null ^ this.getObjectIds() == nullreturn false;
        if (other.getObjectIds() != null && other.getObjectIds().equals(this.getObjectIds()) == falsereturn false
        if (other.isEvaluateExpressions() == null ^ this.isEvaluateExpressions() == nullreturn false;
        if (other.isEvaluateExpressions() != null && other.isEvaluateExpressions().equals(this.isEvaluateExpressions()) == falsereturn false
        if (other.getMarker() == null ^ this.getMarker() == nullreturn false;
        if (other.getMarker() != null && other.getMarker().equals(this.getMarker()) == falsereturn false
        return true;
    }
    
    @Override
    public DescribeObjectsRequest clone() {
        
            return (DescribeObjectsRequestsuper.clone();
    }
}
    
New to GrepCode? Check out our FAQ X