Class MicrosoftGraphWorkbookChartLegend
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphWorkbookChartLegend
-
public final class MicrosoftGraphWorkbookChartLegend extends MicrosoftGraphEntity
workbookChartLegend.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphWorkbookChartLegend()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>additionalProperties()Get the additionalProperties property: workbookChartLegend.MicrosoftGraphWorkbookChartLegendFormatformat()Get the format property: workbookChartLegendFormat.Booleanoverlay()Get the overlay property: Boolean value for whether the chart legend should overlap with the main body of the chart.Stringposition()Get the position property: Represents the position of the legend on the chart.voidvalidate()Validates the instance.Booleanvisible()Get the visible property: A boolean value the represents the visibility of a ChartLegend object.MicrosoftGraphWorkbookChartLegendwithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: workbookChartLegend.MicrosoftGraphWorkbookChartLegendwithFormat(MicrosoftGraphWorkbookChartLegendFormat format)Set the format property: workbookChartLegendFormat.MicrosoftGraphWorkbookChartLegendwithId(String id)Set the id property: Read-only.MicrosoftGraphWorkbookChartLegendwithOverlay(Boolean overlay)Set the overlay property: Boolean value for whether the chart legend should overlap with the main body of the chart.MicrosoftGraphWorkbookChartLegendwithPosition(String position)Set the position property: Represents the position of the legend on the chart.MicrosoftGraphWorkbookChartLegendwithVisible(Boolean visible)Set the visible property: A boolean value the represents the visibility of a ChartLegend object.-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
-
-
-
Method Detail
-
overlay
public Boolean overlay()
Get the overlay property: Boolean value for whether the chart legend should overlap with the main body of the chart.- Returns:
- the overlay value.
-
withOverlay
public MicrosoftGraphWorkbookChartLegend withOverlay(Boolean overlay)
Set the overlay property: Boolean value for whether the chart legend should overlap with the main body of the chart.- Parameters:
overlay- the overlay value to set.- Returns:
- the MicrosoftGraphWorkbookChartLegend object itself.
-
position
public String position()
Get the position property: Represents the position of the legend on the chart. The possible values are: Top, Bottom, Left, Right, Corner, Custom.- Returns:
- the position value.
-
withPosition
public MicrosoftGraphWorkbookChartLegend withPosition(String position)
Set the position property: Represents the position of the legend on the chart. The possible values are: Top, Bottom, Left, Right, Corner, Custom.- Parameters:
position- the position value to set.- Returns:
- the MicrosoftGraphWorkbookChartLegend object itself.
-
visible
public Boolean visible()
Get the visible property: A boolean value the represents the visibility of a ChartLegend object.- Returns:
- the visible value.
-
withVisible
public MicrosoftGraphWorkbookChartLegend withVisible(Boolean visible)
Set the visible property: A boolean value the represents the visibility of a ChartLegend object.- Parameters:
visible- the visible value to set.- Returns:
- the MicrosoftGraphWorkbookChartLegend object itself.
-
format
public MicrosoftGraphWorkbookChartLegendFormat format()
Get the format property: workbookChartLegendFormat.- Returns:
- the format value.
-
withFormat
public MicrosoftGraphWorkbookChartLegend withFormat(MicrosoftGraphWorkbookChartLegendFormat format)
Set the format property: workbookChartLegendFormat.- Parameters:
format- the format value to set.- Returns:
- the MicrosoftGraphWorkbookChartLegend object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: workbookChartLegend.- Overrides:
additionalPropertiesin classMicrosoftGraphEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphWorkbookChartLegend withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: workbookChartLegend.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphEntity- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphWorkbookChartLegend object itself.
-
withId
public MicrosoftGraphWorkbookChartLegend withId(String id)
Set the id property: Read-only.- Overrides:
withIdin classMicrosoftGraphEntity- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classMicrosoftGraphEntity- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-