* The Amazon Resource Name (ARN) of the raster data collection. *
*/ private String arn; /** ** A description of the raster data collection. *
*/ private String description; /** ** The URL of the description page. *
*/ private String descriptionPageUrl; /** ** The list of image source bands in the raster data collection. *
*/ private java.util.List* The name of the raster data collection. *
*/ private String name; /** ** The filters supported by the raster data collection. *
*/ private java.util.List* Each tag consists of a key and a value. *
*/ private java.util.Map* The raster data collection type. *
*/ private String type; /** ** The Amazon Resource Name (ARN) of the raster data collection. *
* * @param arn * The Amazon Resource Name (ARN) of the raster data collection. */ public void setArn(String arn) { this.arn = arn; } /** ** The Amazon Resource Name (ARN) of the raster data collection. *
* * @return The Amazon Resource Name (ARN) of the raster data collection. */ public String getArn() { return this.arn; } /** ** The Amazon Resource Name (ARN) of the raster data collection. *
* * @param arn * The Amazon Resource Name (ARN) of the raster data collection. * @return Returns a reference to this object so that method calls can be chained together. */ public GetRasterDataCollectionResult withArn(String arn) { setArn(arn); return this; } /** ** A description of the raster data collection. *
* * @param description * A description of the raster data collection. */ public void setDescription(String description) { this.description = description; } /** ** A description of the raster data collection. *
* * @return A description of the raster data collection. */ public String getDescription() { return this.description; } /** ** A description of the raster data collection. *
* * @param description * A description of the raster data collection. * @return Returns a reference to this object so that method calls can be chained together. */ public GetRasterDataCollectionResult withDescription(String description) { setDescription(description); return this; } /** ** The URL of the description page. *
* * @param descriptionPageUrl * The URL of the description page. */ public void setDescriptionPageUrl(String descriptionPageUrl) { this.descriptionPageUrl = descriptionPageUrl; } /** ** The URL of the description page. *
* * @return The URL of the description page. */ public String getDescriptionPageUrl() { return this.descriptionPageUrl; } /** ** The URL of the description page. *
* * @param descriptionPageUrl * The URL of the description page. * @return Returns a reference to this object so that method calls can be chained together. */ public GetRasterDataCollectionResult withDescriptionPageUrl(String descriptionPageUrl) { setDescriptionPageUrl(descriptionPageUrl); return this; } /** ** The list of image source bands in the raster data collection. *
* * @return The list of image source bands in the raster data collection. */ public java.util.List* The list of image source bands in the raster data collection. *
* * @param imageSourceBands * The list of image source bands in the raster data collection. */ public void setImageSourceBands(java.util.Collection* The list of image source bands in the raster data collection. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setImageSourceBands(java.util.Collection)} or {@link #withImageSourceBands(java.util.Collection)} if you * want to override the existing values. *
* * @param imageSourceBands * The list of image source bands in the raster data collection. * @return Returns a reference to this object so that method calls can be chained together. */ public GetRasterDataCollectionResult withImageSourceBands(String... imageSourceBands) { if (this.imageSourceBands == null) { setImageSourceBands(new java.util.ArrayList* The list of image source bands in the raster data collection. *
* * @param imageSourceBands * The list of image source bands in the raster data collection. * @return Returns a reference to this object so that method calls can be chained together. */ public GetRasterDataCollectionResult withImageSourceBands(java.util.Collection* The name of the raster data collection. *
* * @param name * The name of the raster data collection. */ public void setName(String name) { this.name = name; } /** ** The name of the raster data collection. *
* * @return The name of the raster data collection. */ public String getName() { return this.name; } /** ** The name of the raster data collection. *
* * @param name * The name of the raster data collection. * @return Returns a reference to this object so that method calls can be chained together. */ public GetRasterDataCollectionResult withName(String name) { setName(name); return this; } /** ** The filters supported by the raster data collection. *
* * @return The filters supported by the raster data collection. */ public java.util.List* The filters supported by the raster data collection. *
* * @param supportedFilters * The filters supported by the raster data collection. */ public void setSupportedFilters(java.util.Collection* The filters supported by the raster data collection. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setSupportedFilters(java.util.Collection)} or {@link #withSupportedFilters(java.util.Collection)} if you * want to override the existing values. *
* * @param supportedFilters * The filters supported by the raster data collection. * @return Returns a reference to this object so that method calls can be chained together. */ public GetRasterDataCollectionResult withSupportedFilters(Filter... supportedFilters) { if (this.supportedFilters == null) { setSupportedFilters(new java.util.ArrayList* The filters supported by the raster data collection. *
* * @param supportedFilters * The filters supported by the raster data collection. * @return Returns a reference to this object so that method calls can be chained together. */ public GetRasterDataCollectionResult withSupportedFilters(java.util.Collection* Each tag consists of a key and a value. *
* * @return Each tag consists of a key and a value. */ public java.util.Map* Each tag consists of a key and a value. *
* * @param tags * Each tag consists of a key and a value. */ public void setTags(java.util.Map* Each tag consists of a key and a value. *
* * @param tags * Each tag consists of a key and a value. * @return Returns a reference to this object so that method calls can be chained together. */ public GetRasterDataCollectionResult withTags(java.util.Map* The raster data collection type. *
* * @param type * The raster data collection type. * @see DataCollectionType */ public void setType(String type) { this.type = type; } /** ** The raster data collection type. *
* * @return The raster data collection type. * @see DataCollectionType */ public String getType() { return this.type; } /** ** The raster data collection type. *
* * @param type * The raster data collection type. * @return Returns a reference to this object so that method calls can be chained together. * @see DataCollectionType */ public GetRasterDataCollectionResult withType(String type) { setType(type); return this; } /** ** The raster data collection type. *
* * @param type * The raster data collection type. * @return Returns a reference to this object so that method calls can be chained together. * @see DataCollectionType */ public GetRasterDataCollectionResult withType(DataCollectionType type) { this.type = type.toString(); 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 (getArn() != null) sb.append("Arn: ").append(getArn()).append(","); if (getDescription() != null) sb.append("Description: ").append(getDescription()).append(","); if (getDescriptionPageUrl() != null) sb.append("DescriptionPageUrl: ").append(getDescriptionPageUrl()).append(","); if (getImageSourceBands() != null) sb.append("ImageSourceBands: ").append(getImageSourceBands()).append(","); if (getName() != null) sb.append("Name: ").append(getName()).append(","); if (getSupportedFilters() != null) sb.append("SupportedFilters: ").append(getSupportedFilters()).append(","); if (getTags() != null) sb.append("Tags: ").append(getTags()).append(","); if (getType() != null) sb.append("Type: ").append(getType()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof GetRasterDataCollectionResult == false) return false; GetRasterDataCollectionResult other = (GetRasterDataCollectionResult) obj; if (other.getArn() == null ^ this.getArn() == null) return false; if (other.getArn() != null && other.getArn().equals(this.getArn()) == false) return false; if (other.getDescription() == null ^ this.getDescription() == null) return false; if (other.getDescription() != null && other.getDescription().equals(this.getDescription()) == false) return false; if (other.getDescriptionPageUrl() == null ^ this.getDescriptionPageUrl() == null) return false; if (other.getDescriptionPageUrl() != null && other.getDescriptionPageUrl().equals(this.getDescriptionPageUrl()) == false) return false; if (other.getImageSourceBands() == null ^ this.getImageSourceBands() == null) return false; if (other.getImageSourceBands() != null && other.getImageSourceBands().equals(this.getImageSourceBands()) == false) return false; if (other.getName() == null ^ this.getName() == null) return false; if (other.getName() != null && other.getName().equals(this.getName()) == false) return false; if (other.getSupportedFilters() == null ^ this.getSupportedFilters() == null) return false; if (other.getSupportedFilters() != null && other.getSupportedFilters().equals(this.getSupportedFilters()) == false) return false; if (other.getTags() == null ^ this.getTags() == null) return false; if (other.getTags() != null && other.getTags().equals(this.getTags()) == false) return false; if (other.getType() == null ^ this.getType() == null) return false; if (other.getType() != null && other.getType().equals(this.getType()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getArn() == null) ? 0 : getArn().hashCode()); hashCode = prime * hashCode + ((getDescription() == null) ? 0 : getDescription().hashCode()); hashCode = prime * hashCode + ((getDescriptionPageUrl() == null) ? 0 : getDescriptionPageUrl().hashCode()); hashCode = prime * hashCode + ((getImageSourceBands() == null) ? 0 : getImageSourceBands().hashCode()); hashCode = prime * hashCode + ((getName() == null) ? 0 : getName().hashCode()); hashCode = prime * hashCode + ((getSupportedFilters() == null) ? 0 : getSupportedFilters().hashCode()); hashCode = prime * hashCode + ((getTags() == null) ? 0 : getTags().hashCode()); hashCode = prime * hashCode + ((getType() == null) ? 0 : getType().hashCode()); return hashCode; } @Override public GetRasterDataCollectionResult clone() { try { return (GetRasterDataCollectionResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }