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

com.amazonaws.services.augmentedairuntime.model.ListHumanLoopsRequest 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.augmentedairuntime.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 ListHumanLoopsRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable {

    /**
     * 

* (Optional) The timestamp of the date when you want the human loops to begin in ISO 8601 format. For example, * 2020-02-24. *

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

* (Optional) The timestamp of the date before which you want the human loops to begin in ISO 8601 format. For * example, 2020-02-24. *

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

* The Amazon Resource Name (ARN) of a flow definition. *

*/ private String flowDefinitionArn; /** *

* Optional. The order for displaying results. Valid values: Ascending and Descending. *

*/ private String sortOrder; /** *

* A token to display the next page of results. *

*/ private String nextToken; /** *

* The total number of items to return. If the total number of available items is more than the value specified in * MaxResults, then a NextToken is returned in the output. You can use this token to * display the next page of results. *

*/ private Integer maxResults; /** *

* (Optional) The timestamp of the date when you want the human loops to begin in ISO 8601 format. For example, * 2020-02-24. *

* * @param creationTimeAfter * (Optional) The timestamp of the date when you want the human loops to begin in ISO 8601 format. For * example, 2020-02-24. */ public void setCreationTimeAfter(java.util.Date creationTimeAfter) { this.creationTimeAfter = creationTimeAfter; } /** *

* (Optional) The timestamp of the date when you want the human loops to begin in ISO 8601 format. For example, * 2020-02-24. *

* * @return (Optional) The timestamp of the date when you want the human loops to begin in ISO 8601 format. For * example, 2020-02-24. */ public java.util.Date getCreationTimeAfter() { return this.creationTimeAfter; } /** *

* (Optional) The timestamp of the date when you want the human loops to begin in ISO 8601 format. For example, * 2020-02-24. *

* * @param creationTimeAfter * (Optional) The timestamp of the date when you want the human loops to begin in ISO 8601 format. For * example, 2020-02-24. * @return Returns a reference to this object so that method calls can be chained together. */ public ListHumanLoopsRequest withCreationTimeAfter(java.util.Date creationTimeAfter) { setCreationTimeAfter(creationTimeAfter); return this; } /** *

* (Optional) The timestamp of the date before which you want the human loops to begin in ISO 8601 format. For * example, 2020-02-24. *

* * @param creationTimeBefore * (Optional) The timestamp of the date before which you want the human loops to begin in ISO 8601 format. * For example, 2020-02-24. */ public void setCreationTimeBefore(java.util.Date creationTimeBefore) { this.creationTimeBefore = creationTimeBefore; } /** *

* (Optional) The timestamp of the date before which you want the human loops to begin in ISO 8601 format. For * example, 2020-02-24. *

* * @return (Optional) The timestamp of the date before which you want the human loops to begin in ISO 8601 format. * For example, 2020-02-24. */ public java.util.Date getCreationTimeBefore() { return this.creationTimeBefore; } /** *

* (Optional) The timestamp of the date before which you want the human loops to begin in ISO 8601 format. For * example, 2020-02-24. *

* * @param creationTimeBefore * (Optional) The timestamp of the date before which you want the human loops to begin in ISO 8601 format. * For example, 2020-02-24. * @return Returns a reference to this object so that method calls can be chained together. */ public ListHumanLoopsRequest withCreationTimeBefore(java.util.Date creationTimeBefore) { setCreationTimeBefore(creationTimeBefore); return this; } /** *

* The Amazon Resource Name (ARN) of a flow definition. *

* * @param flowDefinitionArn * The Amazon Resource Name (ARN) of a flow definition. */ public void setFlowDefinitionArn(String flowDefinitionArn) { this.flowDefinitionArn = flowDefinitionArn; } /** *

* The Amazon Resource Name (ARN) of a flow definition. *

* * @return The Amazon Resource Name (ARN) of a flow definition. */ public String getFlowDefinitionArn() { return this.flowDefinitionArn; } /** *

* The Amazon Resource Name (ARN) of a flow definition. *

* * @param flowDefinitionArn * The Amazon Resource Name (ARN) of a flow definition. * @return Returns a reference to this object so that method calls can be chained together. */ public ListHumanLoopsRequest withFlowDefinitionArn(String flowDefinitionArn) { setFlowDefinitionArn(flowDefinitionArn); return this; } /** *

* Optional. The order for displaying results. Valid values: Ascending and Descending. *

* * @param sortOrder * Optional. The order for displaying results. Valid values: Ascending and * Descending. * @see SortOrder */ public void setSortOrder(String sortOrder) { this.sortOrder = sortOrder; } /** *

* Optional. The order for displaying results. Valid values: Ascending and Descending. *

* * @return Optional. The order for displaying results. Valid values: Ascending and * Descending. * @see SortOrder */ public String getSortOrder() { return this.sortOrder; } /** *

* Optional. The order for displaying results. Valid values: Ascending and Descending. *

* * @param sortOrder * Optional. The order for displaying results. Valid values: Ascending and * Descending. * @return Returns a reference to this object so that method calls can be chained together. * @see SortOrder */ public ListHumanLoopsRequest withSortOrder(String sortOrder) { setSortOrder(sortOrder); return this; } /** *

* Optional. The order for displaying results. Valid values: Ascending and Descending. *

* * @param sortOrder * Optional. The order for displaying results. Valid values: Ascending and * Descending. * @return Returns a reference to this object so that method calls can be chained together. * @see SortOrder */ public ListHumanLoopsRequest withSortOrder(SortOrder sortOrder) { this.sortOrder = sortOrder.toString(); return this; } /** *

* A token to display the next page of results. *

* * @param nextToken * A token to display the next page of results. */ public void setNextToken(String nextToken) { this.nextToken = nextToken; } /** *

* A token to display the next page of results. *

* * @return A token to display the next page of results. */ public String getNextToken() { return this.nextToken; } /** *

* A token to display the next page of results. *

* * @param nextToken * A token to display the next page of results. * @return Returns a reference to this object so that method calls can be chained together. */ public ListHumanLoopsRequest withNextToken(String nextToken) { setNextToken(nextToken); return this; } /** *

* The total number of items to return. If the total number of available items is more than the value specified in * MaxResults, then a NextToken is returned in the output. You can use this token to * display the next page of results. *

* * @param maxResults * The total number of items to return. If the total number of available items is more than the value * specified in MaxResults, then a NextToken is returned in the output. You can use * this token to display the next page of results. */ public void setMaxResults(Integer maxResults) { this.maxResults = maxResults; } /** *

* The total number of items to return. If the total number of available items is more than the value specified in * MaxResults, then a NextToken is returned in the output. You can use this token to * display the next page of results. *

* * @return The total number of items to return. If the total number of available items is more than the value * specified in MaxResults, then a NextToken is returned in the output. You can * use this token to display the next page of results. */ public Integer getMaxResults() { return this.maxResults; } /** *

* The total number of items to return. If the total number of available items is more than the value specified in * MaxResults, then a NextToken is returned in the output. You can use this token to * display the next page of results. *

* * @param maxResults * The total number of items to return. If the total number of available items is more than the value * specified in MaxResults, then a NextToken is returned in the output. You can use * this token to display the next page of results. * @return Returns a reference to this object so that method calls can be chained together. */ public ListHumanLoopsRequest 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 (getCreationTimeAfter() != null) sb.append("CreationTimeAfter: ").append(getCreationTimeAfter()).append(","); if (getCreationTimeBefore() != null) sb.append("CreationTimeBefore: ").append(getCreationTimeBefore()).append(","); if (getFlowDefinitionArn() != null) sb.append("FlowDefinitionArn: ").append(getFlowDefinitionArn()).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 ListHumanLoopsRequest == false) return false; ListHumanLoopsRequest other = (ListHumanLoopsRequest) obj; if (other.getCreationTimeAfter() == null ^ this.getCreationTimeAfter() == null) return false; if (other.getCreationTimeAfter() != null && other.getCreationTimeAfter().equals(this.getCreationTimeAfter()) == false) return false; if (other.getCreationTimeBefore() == null ^ this.getCreationTimeBefore() == null) return false; if (other.getCreationTimeBefore() != null && other.getCreationTimeBefore().equals(this.getCreationTimeBefore()) == false) return false; if (other.getFlowDefinitionArn() == null ^ this.getFlowDefinitionArn() == null) return false; if (other.getFlowDefinitionArn() != null && other.getFlowDefinitionArn().equals(this.getFlowDefinitionArn()) == 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 + ((getCreationTimeAfter() == null) ? 0 : getCreationTimeAfter().hashCode()); hashCode = prime * hashCode + ((getCreationTimeBefore() == null) ? 0 : getCreationTimeBefore().hashCode()); hashCode = prime * hashCode + ((getFlowDefinitionArn() == null) ? 0 : getFlowDefinitionArn().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 ListHumanLoopsRequest clone() { return (ListHumanLoopsRequest) super.clone(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy