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

com.amazonaws.services.iotanalytics.model.PipelineSummary Maven / Gradle / Ivy

Go to download

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

There is a newer version: 1.12.780
Show newest version
/*
 * Copyright 2018-2023 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.iotanalytics.model;

import java.io.Serializable;
import javax.annotation.Generated;
import com.amazonaws.protocol.StructuredPojo;
import com.amazonaws.protocol.ProtocolMarshaller;

/**
 * 

* A summary of information about a pipeline. *

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

* The name of the pipeline. *

*/ private String pipelineName; /** *

* A summary of information about the pipeline reprocessing. *

*/ private java.util.List reprocessingSummaries; /** *

* When the pipeline was created. *

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

* When the pipeline was last updated. *

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

* The name of the pipeline. *

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

* The name of the pipeline. *

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

* The name of the pipeline. *

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

* A summary of information about the pipeline reprocessing. *

* * @return A summary of information about the pipeline reprocessing. */ public java.util.List getReprocessingSummaries() { return reprocessingSummaries; } /** *

* A summary of information about the pipeline reprocessing. *

* * @param reprocessingSummaries * A summary of information about the pipeline reprocessing. */ public void setReprocessingSummaries(java.util.Collection reprocessingSummaries) { if (reprocessingSummaries == null) { this.reprocessingSummaries = null; return; } this.reprocessingSummaries = new java.util.ArrayList(reprocessingSummaries); } /** *

* A summary of information about the pipeline reprocessing. *

*

* NOTE: This method appends the values to the existing list (if any). Use * {@link #setReprocessingSummaries(java.util.Collection)} or * {@link #withReprocessingSummaries(java.util.Collection)} if you want to override the existing values. *

* * @param reprocessingSummaries * A summary of information about the pipeline reprocessing. * @return Returns a reference to this object so that method calls can be chained together. */ public PipelineSummary withReprocessingSummaries(ReprocessingSummary... reprocessingSummaries) { if (this.reprocessingSummaries == null) { setReprocessingSummaries(new java.util.ArrayList(reprocessingSummaries.length)); } for (ReprocessingSummary ele : reprocessingSummaries) { this.reprocessingSummaries.add(ele); } return this; } /** *

* A summary of information about the pipeline reprocessing. *

* * @param reprocessingSummaries * A summary of information about the pipeline reprocessing. * @return Returns a reference to this object so that method calls can be chained together. */ public PipelineSummary withReprocessingSummaries(java.util.Collection reprocessingSummaries) { setReprocessingSummaries(reprocessingSummaries); return this; } /** *

* When the pipeline was created. *

* * @param creationTime * When the pipeline was created. */ public void setCreationTime(java.util.Date creationTime) { this.creationTime = creationTime; } /** *

* When the pipeline was created. *

* * @return When the pipeline was created. */ public java.util.Date getCreationTime() { return this.creationTime; } /** *

* When the pipeline was created. *

* * @param creationTime * When the pipeline was created. * @return Returns a reference to this object so that method calls can be chained together. */ public PipelineSummary withCreationTime(java.util.Date creationTime) { setCreationTime(creationTime); return this; } /** *

* When the pipeline was last updated. *

* * @param lastUpdateTime * When the pipeline was last updated. */ public void setLastUpdateTime(java.util.Date lastUpdateTime) { this.lastUpdateTime = lastUpdateTime; } /** *

* When the pipeline was last updated. *

* * @return When the pipeline was last updated. */ public java.util.Date getLastUpdateTime() { return this.lastUpdateTime; } /** *

* When the pipeline was last updated. *

* * @param lastUpdateTime * When the pipeline was last updated. * @return Returns a reference to this object so that method calls can be chained together. */ public PipelineSummary withLastUpdateTime(java.util.Date lastUpdateTime) { setLastUpdateTime(lastUpdateTime); 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 (getReprocessingSummaries() != null) sb.append("ReprocessingSummaries: ").append(getReprocessingSummaries()).append(","); if (getCreationTime() != null) sb.append("CreationTime: ").append(getCreationTime()).append(","); if (getLastUpdateTime() != null) sb.append("LastUpdateTime: ").append(getLastUpdateTime()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof PipelineSummary == false) return false; PipelineSummary other = (PipelineSummary) obj; if (other.getPipelineName() == null ^ this.getPipelineName() == null) return false; if (other.getPipelineName() != null && other.getPipelineName().equals(this.getPipelineName()) == false) return false; if (other.getReprocessingSummaries() == null ^ this.getReprocessingSummaries() == null) return false; if (other.getReprocessingSummaries() != null && other.getReprocessingSummaries().equals(this.getReprocessingSummaries()) == false) return false; if (other.getCreationTime() == null ^ this.getCreationTime() == null) return false; if (other.getCreationTime() != null && other.getCreationTime().equals(this.getCreationTime()) == false) return false; if (other.getLastUpdateTime() == null ^ this.getLastUpdateTime() == null) return false; if (other.getLastUpdateTime() != null && other.getLastUpdateTime().equals(this.getLastUpdateTime()) == 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 + ((getReprocessingSummaries() == null) ? 0 : getReprocessingSummaries().hashCode()); hashCode = prime * hashCode + ((getCreationTime() == null) ? 0 : getCreationTime().hashCode()); hashCode = prime * hashCode + ((getLastUpdateTime() == null) ? 0 : getLastUpdateTime().hashCode()); return hashCode; } @Override public PipelineSummary clone() { try { return (PipelineSummary) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } @com.amazonaws.annotation.SdkInternalApi @Override public void marshall(ProtocolMarshaller protocolMarshaller) { com.amazonaws.services.iotanalytics.model.transform.PipelineSummaryMarshaller.getInstance().marshall(this, protocolMarshaller); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy