/* * 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 label configuration of a reference line. *
* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class ReferenceLineLabelConfiguration implements Serializable, Cloneable, StructuredPojo { /** ** The value label configuration of the label in a reference line. *
*/ private ReferenceLineValueLabelConfiguration valueLabelConfiguration; /** ** The custom label configuration of the label in a reference line. *
*/ private ReferenceLineCustomLabelConfiguration customLabelConfiguration; /** ** The font configuration of the label in a reference line. *
*/ private FontConfiguration fontConfiguration; /** ** The font color configuration of the label in a reference line. *
*/ private String fontColor; /** ** The horizontal position configuration of the label in a reference line. Choose one of the following options: *
*
* LEFT
*
* CENTER
*
* RIGHT
*
* The vertical position configuration of the label in a reference line. Choose one of the following options: *
*
* ABOVE
*
* BELOW
*
* The value label configuration of the label in a reference line. *
* * @param valueLabelConfiguration * The value label configuration of the label in a reference line. */ public void setValueLabelConfiguration(ReferenceLineValueLabelConfiguration valueLabelConfiguration) { this.valueLabelConfiguration = valueLabelConfiguration; } /** ** The value label configuration of the label in a reference line. *
* * @return The value label configuration of the label in a reference line. */ public ReferenceLineValueLabelConfiguration getValueLabelConfiguration() { return this.valueLabelConfiguration; } /** ** The value label configuration of the label in a reference line. *
* * @param valueLabelConfiguration * The value label configuration of the label in a reference line. * @return Returns a reference to this object so that method calls can be chained together. */ public ReferenceLineLabelConfiguration withValueLabelConfiguration(ReferenceLineValueLabelConfiguration valueLabelConfiguration) { setValueLabelConfiguration(valueLabelConfiguration); return this; } /** ** The custom label configuration of the label in a reference line. *
* * @param customLabelConfiguration * The custom label configuration of the label in a reference line. */ public void setCustomLabelConfiguration(ReferenceLineCustomLabelConfiguration customLabelConfiguration) { this.customLabelConfiguration = customLabelConfiguration; } /** ** The custom label configuration of the label in a reference line. *
* * @return The custom label configuration of the label in a reference line. */ public ReferenceLineCustomLabelConfiguration getCustomLabelConfiguration() { return this.customLabelConfiguration; } /** ** The custom label configuration of the label in a reference line. *
* * @param customLabelConfiguration * The custom label configuration of the label in a reference line. * @return Returns a reference to this object so that method calls can be chained together. */ public ReferenceLineLabelConfiguration withCustomLabelConfiguration(ReferenceLineCustomLabelConfiguration customLabelConfiguration) { setCustomLabelConfiguration(customLabelConfiguration); return this; } /** ** The font configuration of the label in a reference line. *
* * @param fontConfiguration * The font configuration of the label in a reference line. */ public void setFontConfiguration(FontConfiguration fontConfiguration) { this.fontConfiguration = fontConfiguration; } /** ** The font configuration of the label in a reference line. *
* * @return The font configuration of the label in a reference line. */ public FontConfiguration getFontConfiguration() { return this.fontConfiguration; } /** ** The font configuration of the label in a reference line. *
* * @param fontConfiguration * The font configuration of the label in a reference line. * @return Returns a reference to this object so that method calls can be chained together. */ public ReferenceLineLabelConfiguration withFontConfiguration(FontConfiguration fontConfiguration) { setFontConfiguration(fontConfiguration); return this; } /** ** The font color configuration of the label in a reference line. *
* * @param fontColor * The font color configuration of the label in a reference line. */ public void setFontColor(String fontColor) { this.fontColor = fontColor; } /** ** The font color configuration of the label in a reference line. *
* * @return The font color configuration of the label in a reference line. */ public String getFontColor() { return this.fontColor; } /** ** The font color configuration of the label in a reference line. *
* * @param fontColor * The font color configuration of the label in a reference line. * @return Returns a reference to this object so that method calls can be chained together. */ public ReferenceLineLabelConfiguration withFontColor(String fontColor) { setFontColor(fontColor); return this; } /** ** The horizontal position configuration of the label in a reference line. Choose one of the following options: *
*
* LEFT
*
* CENTER
*
* RIGHT
*
* LEFT
*
* CENTER
*
* RIGHT
*
* The horizontal position configuration of the label in a reference line. Choose one of the following options: *
*
* LEFT
*
* CENTER
*
* RIGHT
*
* LEFT
*
* CENTER
*
* RIGHT
*
* The horizontal position configuration of the label in a reference line. Choose one of the following options: *
*
* LEFT
*
* CENTER
*
* RIGHT
*
* LEFT
*
* CENTER
*
* RIGHT
*
* The horizontal position configuration of the label in a reference line. Choose one of the following options: *
*
* LEFT
*
* CENTER
*
* RIGHT
*
* LEFT
*
* CENTER
*
* RIGHT
*
* The vertical position configuration of the label in a reference line. Choose one of the following options: *
*
* ABOVE
*
* BELOW
*
* ABOVE
*
* BELOW
*
* The vertical position configuration of the label in a reference line. Choose one of the following options: *
*
* ABOVE
*
* BELOW
*
* ABOVE
*
* BELOW
*
* The vertical position configuration of the label in a reference line. Choose one of the following options: *
*
* ABOVE
*
* BELOW
*
* ABOVE
*
* BELOW
*
* The vertical position configuration of the label in a reference line. Choose one of the following options: *
*
* ABOVE
*
* BELOW
*
* ABOVE
*
* BELOW
*