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

com.amazonaws.services.sagemakergeospatial.model.Properties Maven / Gradle / Ivy

/*
 * 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.sagemakergeospatial.model;

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

/**
 * 

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

*/ private Float eoCloudCover; /**

*/ private Float landsatCloudCoverLand; /**

*/ private String platform; /**

*/ private Float viewOffNadir; /**

*/ private Float viewSunAzimuth; /**

*/ private Float viewSunElevation; /** *

* * @param eoCloudCover */ public void setEoCloudCover(Float eoCloudCover) { this.eoCloudCover = eoCloudCover; } /** *

* * @return */ public Float getEoCloudCover() { return this.eoCloudCover; } /** *

* * @param eoCloudCover * @return Returns a reference to this object so that method calls can be chained together. */ public Properties withEoCloudCover(Float eoCloudCover) { setEoCloudCover(eoCloudCover); return this; } /** *

* * @param landsatCloudCoverLand */ public void setLandsatCloudCoverLand(Float landsatCloudCoverLand) { this.landsatCloudCoverLand = landsatCloudCoverLand; } /** *

* * @return */ public Float getLandsatCloudCoverLand() { return this.landsatCloudCoverLand; } /** *

* * @param landsatCloudCoverLand * @return Returns a reference to this object so that method calls can be chained together. */ public Properties withLandsatCloudCoverLand(Float landsatCloudCoverLand) { setLandsatCloudCoverLand(landsatCloudCoverLand); return this; } /** *

* * @param platform */ public void setPlatform(String platform) { this.platform = platform; } /** *

* * @return */ public String getPlatform() { return this.platform; } /** *

* * @param platform * @return Returns a reference to this object so that method calls can be chained together. */ public Properties withPlatform(String platform) { setPlatform(platform); return this; } /** *

* * @param viewOffNadir */ public void setViewOffNadir(Float viewOffNadir) { this.viewOffNadir = viewOffNadir; } /** *

* * @return */ public Float getViewOffNadir() { return this.viewOffNadir; } /** *

* * @param viewOffNadir * @return Returns a reference to this object so that method calls can be chained together. */ public Properties withViewOffNadir(Float viewOffNadir) { setViewOffNadir(viewOffNadir); return this; } /** *

* * @param viewSunAzimuth */ public void setViewSunAzimuth(Float viewSunAzimuth) { this.viewSunAzimuth = viewSunAzimuth; } /** *

* * @return */ public Float getViewSunAzimuth() { return this.viewSunAzimuth; } /** *

* * @param viewSunAzimuth * @return Returns a reference to this object so that method calls can be chained together. */ public Properties withViewSunAzimuth(Float viewSunAzimuth) { setViewSunAzimuth(viewSunAzimuth); return this; } /** *

* * @param viewSunElevation */ public void setViewSunElevation(Float viewSunElevation) { this.viewSunElevation = viewSunElevation; } /** *

* * @return */ public Float getViewSunElevation() { return this.viewSunElevation; } /** *

* * @param viewSunElevation * @return Returns a reference to this object so that method calls can be chained together. */ public Properties withViewSunElevation(Float viewSunElevation) { setViewSunElevation(viewSunElevation); 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 (getEoCloudCover() != null) sb.append("EoCloudCover: ").append(getEoCloudCover()).append(","); if (getLandsatCloudCoverLand() != null) sb.append("LandsatCloudCoverLand: ").append(getLandsatCloudCoverLand()).append(","); if (getPlatform() != null) sb.append("Platform: ").append(getPlatform()).append(","); if (getViewOffNadir() != null) sb.append("ViewOffNadir: ").append(getViewOffNadir()).append(","); if (getViewSunAzimuth() != null) sb.append("ViewSunAzimuth: ").append(getViewSunAzimuth()).append(","); if (getViewSunElevation() != null) sb.append("ViewSunElevation: ").append(getViewSunElevation()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof Properties == false) return false; Properties other = (Properties) obj; if (other.getEoCloudCover() == null ^ this.getEoCloudCover() == null) return false; if (other.getEoCloudCover() != null && other.getEoCloudCover().equals(this.getEoCloudCover()) == false) return false; if (other.getLandsatCloudCoverLand() == null ^ this.getLandsatCloudCoverLand() == null) return false; if (other.getLandsatCloudCoverLand() != null && other.getLandsatCloudCoverLand().equals(this.getLandsatCloudCoverLand()) == false) return false; if (other.getPlatform() == null ^ this.getPlatform() == null) return false; if (other.getPlatform() != null && other.getPlatform().equals(this.getPlatform()) == false) return false; if (other.getViewOffNadir() == null ^ this.getViewOffNadir() == null) return false; if (other.getViewOffNadir() != null && other.getViewOffNadir().equals(this.getViewOffNadir()) == false) return false; if (other.getViewSunAzimuth() == null ^ this.getViewSunAzimuth() == null) return false; if (other.getViewSunAzimuth() != null && other.getViewSunAzimuth().equals(this.getViewSunAzimuth()) == false) return false; if (other.getViewSunElevation() == null ^ this.getViewSunElevation() == null) return false; if (other.getViewSunElevation() != null && other.getViewSunElevation().equals(this.getViewSunElevation()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getEoCloudCover() == null) ? 0 : getEoCloudCover().hashCode()); hashCode = prime * hashCode + ((getLandsatCloudCoverLand() == null) ? 0 : getLandsatCloudCoverLand().hashCode()); hashCode = prime * hashCode + ((getPlatform() == null) ? 0 : getPlatform().hashCode()); hashCode = prime * hashCode + ((getViewOffNadir() == null) ? 0 : getViewOffNadir().hashCode()); hashCode = prime * hashCode + ((getViewSunAzimuth() == null) ? 0 : getViewSunAzimuth().hashCode()); hashCode = prime * hashCode + ((getViewSunElevation() == null) ? 0 : getViewSunElevation().hashCode()); return hashCode; } @Override public Properties clone() { try { return (Properties) 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.sagemakergeospatial.model.transform.PropertiesMarshaller.getInstance().marshall(this, protocolMarshaller); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy