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

com.amazonaws.services.sagemaker.model.ListPipelineExecutionsRequest Maven / Gradle / Ivy

Go to download

The AWS Java SDK for Amazon SageMaker module holds the client classes that are used for communicating with Amazon SageMaker Service

There is a newer version: 1.12.782
Show newest version
/*
 * 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.sagemaker.model;

import java.io.Serializable;
import javax.annotation.Generated;

import com.amazonaws.AmazonWebServiceRequest;

/**
 * 
 * @see AWS
 *      API Documentation
 */
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class ListPipelineExecutionsRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable {

    /**
     * 

* The name or Amazon Resource Name (ARN) of the pipeline. *

*/ private String pipelineName; /** *

* A filter that returns the pipeline executions that were created after a specified time. *

*/ private java.util.Date createdAfter; /** *

* A filter that returns the pipeline executions that were created before a specified time. *

*/ private java.util.Date createdBefore; /** *

* The field by which to sort results. The default is CreatedTime. *

*/ private String sortBy; /** *

* The sort order for results. *

*/ private String sortOrder; /** *

* If the result of the previous ListPipelineExecutions request was truncated, the response includes a * NextToken. To retrieve the next set of pipeline executions, use the token in the next request. *

*/ private String nextToken; /** *

* The maximum number of pipeline executions to return in the response. *

*/ private Integer maxResults; /** *

* The name or Amazon Resource Name (ARN) of the pipeline. *

* * @param pipelineName * The name or Amazon Resource Name (ARN) of the pipeline. */ public void setPipelineName(String pipelineName) { this.pipelineName = pipelineName; } /** *

* The name or Amazon Resource Name (ARN) of the pipeline. *

* * @return The name or Amazon Resource Name (ARN) of the pipeline. */ public String getPipelineName() { return this.pipelineName; } /** *

* The name or Amazon Resource Name (ARN) of the pipeline. *

* * @param pipelineName * The name or Amazon Resource Name (ARN) of the pipeline. * @return Returns a reference to this object so that method calls can be chained together. */ public ListPipelineExecutionsRequest withPipelineName(String pipelineName) { setPipelineName(pipelineName); return this; } /** *

* A filter that returns the pipeline executions that were created after a specified time. *

* * @param createdAfter * A filter that returns the pipeline executions that were created after a specified time. */ public void setCreatedAfter(java.util.Date createdAfter) { this.createdAfter = createdAfter; } /** *

* A filter that returns the pipeline executions that were created after a specified time. *

* * @return A filter that returns the pipeline executions that were created after a specified time. */ public java.util.Date getCreatedAfter() { return this.createdAfter; } /** *

* A filter that returns the pipeline executions that were created after a specified time. *

* * @param createdAfter * A filter that returns the pipeline executions that were created after a specified time. * @return Returns a reference to this object so that method calls can be chained together. */ public ListPipelineExecutionsRequest withCreatedAfter(java.util.Date createdAfter) { setCreatedAfter(createdAfter); return this; } /** *

* A filter that returns the pipeline executions that were created before a specified time. *

* * @param createdBefore * A filter that returns the pipeline executions that were created before a specified time. */ public void setCreatedBefore(java.util.Date createdBefore) { this.createdBefore = createdBefore; } /** *

* A filter that returns the pipeline executions that were created before a specified time. *

* * @return A filter that returns the pipeline executions that were created before a specified time. */ public java.util.Date getCreatedBefore() { return this.createdBefore; } /** *

* A filter that returns the pipeline executions that were created before a specified time. *

* * @param createdBefore * A filter that returns the pipeline executions that were created before a specified time. * @return Returns a reference to this object so that method calls can be chained together. */ public ListPipelineExecutionsRequest withCreatedBefore(java.util.Date createdBefore) { setCreatedBefore(createdBefore); return this; } /** *

* The field by which to sort results. The default is CreatedTime. *

* * @param sortBy * The field by which to sort results. The default is CreatedTime. * @see SortPipelineExecutionsBy */ public void setSortBy(String sortBy) { this.sortBy = sortBy; } /** *

* The field by which to sort results. The default is CreatedTime. *

* * @return The field by which to sort results. The default is CreatedTime. * @see SortPipelineExecutionsBy */ public String getSortBy() { return this.sortBy; } /** *

* The field by which to sort results. The default is CreatedTime. *

* * @param sortBy * The field by which to sort results. The default is CreatedTime. * @return Returns a reference to this object so that method calls can be chained together. * @see SortPipelineExecutionsBy */ public ListPipelineExecutionsRequest withSortBy(String sortBy) { setSortBy(sortBy); return this; } /** *

* The field by which to sort results. The default is CreatedTime. *

* * @param sortBy * The field by which to sort results. The default is CreatedTime. * @return Returns a reference to this object so that method calls can be chained together. * @see SortPipelineExecutionsBy */ public ListPipelineExecutionsRequest withSortBy(SortPipelineExecutionsBy sortBy) { this.sortBy = sortBy.toString(); return this; } /** *

* The sort order for results. *

* * @param sortOrder * The sort order for results. * @see SortOrder */ public void setSortOrder(String sortOrder) { this.sortOrder = sortOrder; } /** *

* The sort order for results. *

* * @return The sort order for results. * @see SortOrder */ public String getSortOrder() { return this.sortOrder; } /** *

* The sort order for results. *

* * @param sortOrder * The sort order for results. * @return Returns a reference to this object so that method calls can be chained together. * @see SortOrder */ public ListPipelineExecutionsRequest withSortOrder(String sortOrder) { setSortOrder(sortOrder); return this; } /** *

* The sort order for results. *

* * @param sortOrder * The sort order for results. * @return Returns a reference to this object so that method calls can be chained together. * @see SortOrder */ public ListPipelineExecutionsRequest withSortOrder(SortOrder sortOrder) { this.sortOrder = sortOrder.toString(); return this; } /** *

* If the result of the previous ListPipelineExecutions request was truncated, the response includes a * NextToken. To retrieve the next set of pipeline executions, use the token in the next request. *

* * @param nextToken * If the result of the previous ListPipelineExecutions request was truncated, the response * includes a NextToken. To retrieve the next set of pipeline executions, use the token in the * next request. */ public void setNextToken(String nextToken) { this.nextToken = nextToken; } /** *

* If the result of the previous ListPipelineExecutions request was truncated, the response includes a * NextToken. To retrieve the next set of pipeline executions, use the token in the next request. *

* * @return If the result of the previous ListPipelineExecutions request was truncated, the response * includes a NextToken. To retrieve the next set of pipeline executions, use the token in the * next request. */ public String getNextToken() { return this.nextToken; } /** *

* If the result of the previous ListPipelineExecutions request was truncated, the response includes a * NextToken. To retrieve the next set of pipeline executions, use the token in the next request. *

* * @param nextToken * If the result of the previous ListPipelineExecutions request was truncated, the response * includes a NextToken. To retrieve the next set of pipeline executions, use the token in the * next request. * @return Returns a reference to this object so that method calls can be chained together. */ public ListPipelineExecutionsRequest withNextToken(String nextToken) { setNextToken(nextToken); return this; } /** *

* The maximum number of pipeline executions to return in the response. *

* * @param maxResults * The maximum number of pipeline executions to return in the response. */ public void setMaxResults(Integer maxResults) { this.maxResults = maxResults; } /** *

* The maximum number of pipeline executions to return in the response. *

* * @return The maximum number of pipeline executions to return in the response. */ public Integer getMaxResults() { return this.maxResults; } /** *

* The maximum number of pipeline executions to return in the response. *

* * @param maxResults * The maximum number of pipeline executions to return in the response. * @return Returns a reference to this object so that method calls can be chained together. */ public ListPipelineExecutionsRequest withMaxResults(Integer maxResults) { setMaxResults(maxResults); 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 (getPipelineName() != null) sb.append("PipelineName: ").append(getPipelineName()).append(","); if (getCreatedAfter() != null) sb.append("CreatedAfter: ").append(getCreatedAfter()).append(","); if (getCreatedBefore() != null) sb.append("CreatedBefore: ").append(getCreatedBefore()).append(","); if (getSortBy() != null) sb.append("SortBy: ").append(getSortBy()).append(","); if (getSortOrder() != null) sb.append("SortOrder: ").append(getSortOrder()).append(","); if (getNextToken() != null) sb.append("NextToken: ").append(getNextToken()).append(","); if (getMaxResults() != null) sb.append("MaxResults: ").append(getMaxResults()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof ListPipelineExecutionsRequest == false) return false; ListPipelineExecutionsRequest other = (ListPipelineExecutionsRequest) obj; if (other.getPipelineName() == null ^ this.getPipelineName() == null) return false; if (other.getPipelineName() != null && other.getPipelineName().equals(this.getPipelineName()) == false) return false; if (other.getCreatedAfter() == null ^ this.getCreatedAfter() == null) return false; if (other.getCreatedAfter() != null && other.getCreatedAfter().equals(this.getCreatedAfter()) == false) return false; if (other.getCreatedBefore() == null ^ this.getCreatedBefore() == null) return false; if (other.getCreatedBefore() != null && other.getCreatedBefore().equals(this.getCreatedBefore()) == false) return false; if (other.getSortBy() == null ^ this.getSortBy() == null) return false; if (other.getSortBy() != null && other.getSortBy().equals(this.getSortBy()) == false) return false; if (other.getSortOrder() == null ^ this.getSortOrder() == null) return false; if (other.getSortOrder() != null && other.getSortOrder().equals(this.getSortOrder()) == false) return false; if (other.getNextToken() == null ^ this.getNextToken() == null) return false; if (other.getNextToken() != null && other.getNextToken().equals(this.getNextToken()) == false) return false; if (other.getMaxResults() == null ^ this.getMaxResults() == null) return false; if (other.getMaxResults() != null && other.getMaxResults().equals(this.getMaxResults()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getPipelineName() == null) ? 0 : getPipelineName().hashCode()); hashCode = prime * hashCode + ((getCreatedAfter() == null) ? 0 : getCreatedAfter().hashCode()); hashCode = prime * hashCode + ((getCreatedBefore() == null) ? 0 : getCreatedBefore().hashCode()); hashCode = prime * hashCode + ((getSortBy() == null) ? 0 : getSortBy().hashCode()); hashCode = prime * hashCode + ((getSortOrder() == null) ? 0 : getSortOrder().hashCode()); hashCode = prime * hashCode + ((getNextToken() == null) ? 0 : getNextToken().hashCode()); hashCode = prime * hashCode + ((getMaxResults() == null) ? 0 : getMaxResults().hashCode()); return hashCode; } @Override public ListPipelineExecutionsRequest clone() { return (ListPipelineExecutionsRequest) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy