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

com.amazonaws.services.datazone.model.TimeSeriesDataPointSummaryFormOutput 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.datazone.model;

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

/**
 * 

* The summary of the time series data points form. *

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

* The content of the summary of the time series data points form. *

*/ private String contentSummary; /** *

* The name of the time series data points summary form. *

*/ private String formName; /** *

* The ID of the time series data points summary form. *

*/ private String id; /** *

* The timestamp of the time series data points summary form. *

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

* The type ID of the time series data points summary form. *

*/ private String typeIdentifier; /** *

* The type revision of the time series data points summary form. *

*/ private String typeRevision; /** *

* The content of the summary of the time series data points form. *

* * @param contentSummary * The content of the summary of the time series data points form. */ public void setContentSummary(String contentSummary) { this.contentSummary = contentSummary; } /** *

* The content of the summary of the time series data points form. *

* * @return The content of the summary of the time series data points form. */ public String getContentSummary() { return this.contentSummary; } /** *

* The content of the summary of the time series data points form. *

* * @param contentSummary * The content of the summary of the time series data points form. * @return Returns a reference to this object so that method calls can be chained together. */ public TimeSeriesDataPointSummaryFormOutput withContentSummary(String contentSummary) { setContentSummary(contentSummary); return this; } /** *

* The name of the time series data points summary form. *

* * @param formName * The name of the time series data points summary form. */ public void setFormName(String formName) { this.formName = formName; } /** *

* The name of the time series data points summary form. *

* * @return The name of the time series data points summary form. */ public String getFormName() { return this.formName; } /** *

* The name of the time series data points summary form. *

* * @param formName * The name of the time series data points summary form. * @return Returns a reference to this object so that method calls can be chained together. */ public TimeSeriesDataPointSummaryFormOutput withFormName(String formName) { setFormName(formName); return this; } /** *

* The ID of the time series data points summary form. *

* * @param id * The ID of the time series data points summary form. */ public void setId(String id) { this.id = id; } /** *

* The ID of the time series data points summary form. *

* * @return The ID of the time series data points summary form. */ public String getId() { return this.id; } /** *

* The ID of the time series data points summary form. *

* * @param id * The ID of the time series data points summary form. * @return Returns a reference to this object so that method calls can be chained together. */ public TimeSeriesDataPointSummaryFormOutput withId(String id) { setId(id); return this; } /** *

* The timestamp of the time series data points summary form. *

* * @param timestamp * The timestamp of the time series data points summary form. */ public void setTimestamp(java.util.Date timestamp) { this.timestamp = timestamp; } /** *

* The timestamp of the time series data points summary form. *

* * @return The timestamp of the time series data points summary form. */ public java.util.Date getTimestamp() { return this.timestamp; } /** *

* The timestamp of the time series data points summary form. *

* * @param timestamp * The timestamp of the time series data points summary form. * @return Returns a reference to this object so that method calls can be chained together. */ public TimeSeriesDataPointSummaryFormOutput withTimestamp(java.util.Date timestamp) { setTimestamp(timestamp); return this; } /** *

* The type ID of the time series data points summary form. *

* * @param typeIdentifier * The type ID of the time series data points summary form. */ public void setTypeIdentifier(String typeIdentifier) { this.typeIdentifier = typeIdentifier; } /** *

* The type ID of the time series data points summary form. *

* * @return The type ID of the time series data points summary form. */ public String getTypeIdentifier() { return this.typeIdentifier; } /** *

* The type ID of the time series data points summary form. *

* * @param typeIdentifier * The type ID of the time series data points summary form. * @return Returns a reference to this object so that method calls can be chained together. */ public TimeSeriesDataPointSummaryFormOutput withTypeIdentifier(String typeIdentifier) { setTypeIdentifier(typeIdentifier); return this; } /** *

* The type revision of the time series data points summary form. *

* * @param typeRevision * The type revision of the time series data points summary form. */ public void setTypeRevision(String typeRevision) { this.typeRevision = typeRevision; } /** *

* The type revision of the time series data points summary form. *

* * @return The type revision of the time series data points summary form. */ public String getTypeRevision() { return this.typeRevision; } /** *

* The type revision of the time series data points summary form. *

* * @param typeRevision * The type revision of the time series data points summary form. * @return Returns a reference to this object so that method calls can be chained together. */ public TimeSeriesDataPointSummaryFormOutput withTypeRevision(String typeRevision) { setTypeRevision(typeRevision); 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 (getContentSummary() != null) sb.append("ContentSummary: ").append(getContentSummary()).append(","); if (getFormName() != null) sb.append("FormName: ").append(getFormName()).append(","); if (getId() != null) sb.append("Id: ").append(getId()).append(","); if (getTimestamp() != null) sb.append("Timestamp: ").append(getTimestamp()).append(","); if (getTypeIdentifier() != null) sb.append("TypeIdentifier: ").append(getTypeIdentifier()).append(","); if (getTypeRevision() != null) sb.append("TypeRevision: ").append(getTypeRevision()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof TimeSeriesDataPointSummaryFormOutput == false) return false; TimeSeriesDataPointSummaryFormOutput other = (TimeSeriesDataPointSummaryFormOutput) obj; if (other.getContentSummary() == null ^ this.getContentSummary() == null) return false; if (other.getContentSummary() != null && other.getContentSummary().equals(this.getContentSummary()) == false) return false; if (other.getFormName() == null ^ this.getFormName() == null) return false; if (other.getFormName() != null && other.getFormName().equals(this.getFormName()) == false) return false; if (other.getId() == null ^ this.getId() == null) return false; if (other.getId() != null && other.getId().equals(this.getId()) == false) return false; if (other.getTimestamp() == null ^ this.getTimestamp() == null) return false; if (other.getTimestamp() != null && other.getTimestamp().equals(this.getTimestamp()) == false) return false; if (other.getTypeIdentifier() == null ^ this.getTypeIdentifier() == null) return false; if (other.getTypeIdentifier() != null && other.getTypeIdentifier().equals(this.getTypeIdentifier()) == false) return false; if (other.getTypeRevision() == null ^ this.getTypeRevision() == null) return false; if (other.getTypeRevision() != null && other.getTypeRevision().equals(this.getTypeRevision()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getContentSummary() == null) ? 0 : getContentSummary().hashCode()); hashCode = prime * hashCode + ((getFormName() == null) ? 0 : getFormName().hashCode()); hashCode = prime * hashCode + ((getId() == null) ? 0 : getId().hashCode()); hashCode = prime * hashCode + ((getTimestamp() == null) ? 0 : getTimestamp().hashCode()); hashCode = prime * hashCode + ((getTypeIdentifier() == null) ? 0 : getTypeIdentifier().hashCode()); hashCode = prime * hashCode + ((getTypeRevision() == null) ? 0 : getTypeRevision().hashCode()); return hashCode; } @Override public TimeSeriesDataPointSummaryFormOutput clone() { try { return (TimeSeriesDataPointSummaryFormOutput) 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.datazone.model.transform.TimeSeriesDataPointSummaryFormOutputMarshaller.getInstance().marshall(this, protocolMarshaller); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy