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

com.amazonaws.services.quicksight.model.GeospatialMapConfiguration Maven / Gradle / Ivy

Go to download

The AWS Java SDK for Amazon QuickSight module holds the client classes that are used for communicating with Amazon QuickSight 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.quicksight.model;

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

/**
 * 

* The configuration of a GeospatialMapVisual. *

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

* The field wells of the visual. *

*/ private GeospatialMapFieldWells fieldWells; /** *

* The legend display setup of the visual. *

*/ private LegendOptions legend; /** *

* The tooltip display setup of the visual. *

*/ private TooltipOptions tooltip; /** *

* The window options of the geospatial map. *

*/ private GeospatialWindowOptions windowOptions; /** *

* The map style options of the geospatial map. *

*/ private GeospatialMapStyleOptions mapStyleOptions; /** *

* The point style options of the geospatial map. *

*/ private GeospatialPointStyleOptions pointStyleOptions; private VisualPalette visualPalette; /** *

* The field wells of the visual. *

* * @param fieldWells * The field wells of the visual. */ public void setFieldWells(GeospatialMapFieldWells fieldWells) { this.fieldWells = fieldWells; } /** *

* The field wells of the visual. *

* * @return The field wells of the visual. */ public GeospatialMapFieldWells getFieldWells() { return this.fieldWells; } /** *

* The field wells of the visual. *

* * @param fieldWells * The field wells of the visual. * @return Returns a reference to this object so that method calls can be chained together. */ public GeospatialMapConfiguration withFieldWells(GeospatialMapFieldWells fieldWells) { setFieldWells(fieldWells); return this; } /** *

* The legend display setup of the visual. *

* * @param legend * The legend display setup of the visual. */ public void setLegend(LegendOptions legend) { this.legend = legend; } /** *

* The legend display setup of the visual. *

* * @return The legend display setup of the visual. */ public LegendOptions getLegend() { return this.legend; } /** *

* The legend display setup of the visual. *

* * @param legend * The legend display setup of the visual. * @return Returns a reference to this object so that method calls can be chained together. */ public GeospatialMapConfiguration withLegend(LegendOptions legend) { setLegend(legend); return this; } /** *

* The tooltip display setup of the visual. *

* * @param tooltip * The tooltip display setup of the visual. */ public void setTooltip(TooltipOptions tooltip) { this.tooltip = tooltip; } /** *

* The tooltip display setup of the visual. *

* * @return The tooltip display setup of the visual. */ public TooltipOptions getTooltip() { return this.tooltip; } /** *

* The tooltip display setup of the visual. *

* * @param tooltip * The tooltip display setup of the visual. * @return Returns a reference to this object so that method calls can be chained together. */ public GeospatialMapConfiguration withTooltip(TooltipOptions tooltip) { setTooltip(tooltip); return this; } /** *

* The window options of the geospatial map. *

* * @param windowOptions * The window options of the geospatial map. */ public void setWindowOptions(GeospatialWindowOptions windowOptions) { this.windowOptions = windowOptions; } /** *

* The window options of the geospatial map. *

* * @return The window options of the geospatial map. */ public GeospatialWindowOptions getWindowOptions() { return this.windowOptions; } /** *

* The window options of the geospatial map. *

* * @param windowOptions * The window options of the geospatial map. * @return Returns a reference to this object so that method calls can be chained together. */ public GeospatialMapConfiguration withWindowOptions(GeospatialWindowOptions windowOptions) { setWindowOptions(windowOptions); return this; } /** *

* The map style options of the geospatial map. *

* * @param mapStyleOptions * The map style options of the geospatial map. */ public void setMapStyleOptions(GeospatialMapStyleOptions mapStyleOptions) { this.mapStyleOptions = mapStyleOptions; } /** *

* The map style options of the geospatial map. *

* * @return The map style options of the geospatial map. */ public GeospatialMapStyleOptions getMapStyleOptions() { return this.mapStyleOptions; } /** *

* The map style options of the geospatial map. *

* * @param mapStyleOptions * The map style options of the geospatial map. * @return Returns a reference to this object so that method calls can be chained together. */ public GeospatialMapConfiguration withMapStyleOptions(GeospatialMapStyleOptions mapStyleOptions) { setMapStyleOptions(mapStyleOptions); return this; } /** *

* The point style options of the geospatial map. *

* * @param pointStyleOptions * The point style options of the geospatial map. */ public void setPointStyleOptions(GeospatialPointStyleOptions pointStyleOptions) { this.pointStyleOptions = pointStyleOptions; } /** *

* The point style options of the geospatial map. *

* * @return The point style options of the geospatial map. */ public GeospatialPointStyleOptions getPointStyleOptions() { return this.pointStyleOptions; } /** *

* The point style options of the geospatial map. *

* * @param pointStyleOptions * The point style options of the geospatial map. * @return Returns a reference to this object so that method calls can be chained together. */ public GeospatialMapConfiguration withPointStyleOptions(GeospatialPointStyleOptions pointStyleOptions) { setPointStyleOptions(pointStyleOptions); return this; } /** * @param visualPalette */ public void setVisualPalette(VisualPalette visualPalette) { this.visualPalette = visualPalette; } /** * @return */ public VisualPalette getVisualPalette() { return this.visualPalette; } /** * @param visualPalette * @return Returns a reference to this object so that method calls can be chained together. */ public GeospatialMapConfiguration withVisualPalette(VisualPalette visualPalette) { setVisualPalette(visualPalette); 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 (getFieldWells() != null) sb.append("FieldWells: ").append(getFieldWells()).append(","); if (getLegend() != null) sb.append("Legend: ").append(getLegend()).append(","); if (getTooltip() != null) sb.append("Tooltip: ").append(getTooltip()).append(","); if (getWindowOptions() != null) sb.append("WindowOptions: ").append(getWindowOptions()).append(","); if (getMapStyleOptions() != null) sb.append("MapStyleOptions: ").append(getMapStyleOptions()).append(","); if (getPointStyleOptions() != null) sb.append("PointStyleOptions: ").append(getPointStyleOptions()).append(","); if (getVisualPalette() != null) sb.append("VisualPalette: ").append(getVisualPalette()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof GeospatialMapConfiguration == false) return false; GeospatialMapConfiguration other = (GeospatialMapConfiguration) obj; if (other.getFieldWells() == null ^ this.getFieldWells() == null) return false; if (other.getFieldWells() != null && other.getFieldWells().equals(this.getFieldWells()) == false) return false; if (other.getLegend() == null ^ this.getLegend() == null) return false; if (other.getLegend() != null && other.getLegend().equals(this.getLegend()) == false) return false; if (other.getTooltip() == null ^ this.getTooltip() == null) return false; if (other.getTooltip() != null && other.getTooltip().equals(this.getTooltip()) == false) return false; if (other.getWindowOptions() == null ^ this.getWindowOptions() == null) return false; if (other.getWindowOptions() != null && other.getWindowOptions().equals(this.getWindowOptions()) == false) return false; if (other.getMapStyleOptions() == null ^ this.getMapStyleOptions() == null) return false; if (other.getMapStyleOptions() != null && other.getMapStyleOptions().equals(this.getMapStyleOptions()) == false) return false; if (other.getPointStyleOptions() == null ^ this.getPointStyleOptions() == null) return false; if (other.getPointStyleOptions() != null && other.getPointStyleOptions().equals(this.getPointStyleOptions()) == false) return false; if (other.getVisualPalette() == null ^ this.getVisualPalette() == null) return false; if (other.getVisualPalette() != null && other.getVisualPalette().equals(this.getVisualPalette()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getFieldWells() == null) ? 0 : getFieldWells().hashCode()); hashCode = prime * hashCode + ((getLegend() == null) ? 0 : getLegend().hashCode()); hashCode = prime * hashCode + ((getTooltip() == null) ? 0 : getTooltip().hashCode()); hashCode = prime * hashCode + ((getWindowOptions() == null) ? 0 : getWindowOptions().hashCode()); hashCode = prime * hashCode + ((getMapStyleOptions() == null) ? 0 : getMapStyleOptions().hashCode()); hashCode = prime * hashCode + ((getPointStyleOptions() == null) ? 0 : getPointStyleOptions().hashCode()); hashCode = prime * hashCode + ((getVisualPalette() == null) ? 0 : getVisualPalette().hashCode()); return hashCode; } @Override public GeospatialMapConfiguration clone() { try { return (GeospatialMapConfiguration) 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.quicksight.model.transform.GeospatialMapConfigurationMarshaller.getInstance().marshall(this, protocolMarshaller); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy