@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SubtotalOptions extends Object implements Serializable, Cloneable, StructuredPojo
The subtotal options.
Constructor and Description |
---|
SubtotalOptions() |
Modifier and Type | Method and Description |
---|---|
SubtotalOptions |
clone() |
boolean |
equals(Object obj) |
String |
getCustomLabel()
The custom label string for the subtotal cells.
|
String |
getFieldLevel()
The field level (all, custom, last) for the subtotal cells.
|
List<PivotTableFieldSubtotalOptions> |
getFieldLevelOptions()
The optional configuration of subtotal cells.
|
TableCellStyle |
getMetricHeaderCellStyle()
The cell styling options for the subtotals of header cells.
|
List<TableStyleTarget> |
getStyleTargets()
The style targets options for subtotals.
|
TableCellStyle |
getTotalCellStyle()
The cell styling options for the subtotal cells.
|
String |
getTotalsVisibility()
The visibility configuration for the subtotal cells.
|
TableCellStyle |
getValueCellStyle()
The cell styling options for the subtotals of value cells.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCustomLabel(String customLabel)
The custom label string for the subtotal cells.
|
void |
setFieldLevel(String fieldLevel)
The field level (all, custom, last) for the subtotal cells.
|
void |
setFieldLevelOptions(Collection<PivotTableFieldSubtotalOptions> fieldLevelOptions)
The optional configuration of subtotal cells.
|
void |
setMetricHeaderCellStyle(TableCellStyle metricHeaderCellStyle)
The cell styling options for the subtotals of header cells.
|
void |
setStyleTargets(Collection<TableStyleTarget> styleTargets)
The style targets options for subtotals.
|
void |
setTotalCellStyle(TableCellStyle totalCellStyle)
The cell styling options for the subtotal cells.
|
void |
setTotalsVisibility(String totalsVisibility)
The visibility configuration for the subtotal cells.
|
void |
setValueCellStyle(TableCellStyle valueCellStyle)
The cell styling options for the subtotals of value cells.
|
String |
toString()
Returns a string representation of this object.
|
SubtotalOptions |
withCustomLabel(String customLabel)
The custom label string for the subtotal cells.
|
SubtotalOptions |
withFieldLevel(PivotTableSubtotalLevel fieldLevel)
The field level (all, custom, last) for the subtotal cells.
|
SubtotalOptions |
withFieldLevel(String fieldLevel)
The field level (all, custom, last) for the subtotal cells.
|
SubtotalOptions |
withFieldLevelOptions(Collection<PivotTableFieldSubtotalOptions> fieldLevelOptions)
The optional configuration of subtotal cells.
|
SubtotalOptions |
withFieldLevelOptions(PivotTableFieldSubtotalOptions... fieldLevelOptions)
The optional configuration of subtotal cells.
|
SubtotalOptions |
withMetricHeaderCellStyle(TableCellStyle metricHeaderCellStyle)
The cell styling options for the subtotals of header cells.
|
SubtotalOptions |
withStyleTargets(Collection<TableStyleTarget> styleTargets)
The style targets options for subtotals.
|
SubtotalOptions |
withStyleTargets(TableStyleTarget... styleTargets)
The style targets options for subtotals.
|
SubtotalOptions |
withTotalCellStyle(TableCellStyle totalCellStyle)
The cell styling options for the subtotal cells.
|
SubtotalOptions |
withTotalsVisibility(String totalsVisibility)
The visibility configuration for the subtotal cells.
|
SubtotalOptions |
withTotalsVisibility(Visibility totalsVisibility)
The visibility configuration for the subtotal cells.
|
SubtotalOptions |
withValueCellStyle(TableCellStyle valueCellStyle)
The cell styling options for the subtotals of value cells.
|
public void setTotalsVisibility(String totalsVisibility)
The visibility configuration for the subtotal cells.
totalsVisibility
- The visibility configuration for the subtotal cells.Visibility
public String getTotalsVisibility()
The visibility configuration for the subtotal cells.
Visibility
public SubtotalOptions withTotalsVisibility(String totalsVisibility)
The visibility configuration for the subtotal cells.
totalsVisibility
- The visibility configuration for the subtotal cells.Visibility
public SubtotalOptions withTotalsVisibility(Visibility totalsVisibility)
The visibility configuration for the subtotal cells.
totalsVisibility
- The visibility configuration for the subtotal cells.Visibility
public void setCustomLabel(String customLabel)
The custom label string for the subtotal cells.
customLabel
- The custom label string for the subtotal cells.public String getCustomLabel()
The custom label string for the subtotal cells.
public SubtotalOptions withCustomLabel(String customLabel)
The custom label string for the subtotal cells.
customLabel
- The custom label string for the subtotal cells.public void setFieldLevel(String fieldLevel)
The field level (all, custom, last) for the subtotal cells.
fieldLevel
- The field level (all, custom, last) for the subtotal cells.PivotTableSubtotalLevel
public String getFieldLevel()
The field level (all, custom, last) for the subtotal cells.
PivotTableSubtotalLevel
public SubtotalOptions withFieldLevel(String fieldLevel)
The field level (all, custom, last) for the subtotal cells.
fieldLevel
- The field level (all, custom, last) for the subtotal cells.PivotTableSubtotalLevel
public SubtotalOptions withFieldLevel(PivotTableSubtotalLevel fieldLevel)
The field level (all, custom, last) for the subtotal cells.
fieldLevel
- The field level (all, custom, last) for the subtotal cells.PivotTableSubtotalLevel
public List<PivotTableFieldSubtotalOptions> getFieldLevelOptions()
The optional configuration of subtotal cells.
public void setFieldLevelOptions(Collection<PivotTableFieldSubtotalOptions> fieldLevelOptions)
The optional configuration of subtotal cells.
fieldLevelOptions
- The optional configuration of subtotal cells.public SubtotalOptions withFieldLevelOptions(PivotTableFieldSubtotalOptions... fieldLevelOptions)
The optional configuration of subtotal cells.
NOTE: This method appends the values to the existing list (if any). Use
setFieldLevelOptions(java.util.Collection)
or withFieldLevelOptions(java.util.Collection)
if
you want to override the existing values.
fieldLevelOptions
- The optional configuration of subtotal cells.public SubtotalOptions withFieldLevelOptions(Collection<PivotTableFieldSubtotalOptions> fieldLevelOptions)
The optional configuration of subtotal cells.
fieldLevelOptions
- The optional configuration of subtotal cells.public void setTotalCellStyle(TableCellStyle totalCellStyle)
The cell styling options for the subtotal cells.
totalCellStyle
- The cell styling options for the subtotal cells.public TableCellStyle getTotalCellStyle()
The cell styling options for the subtotal cells.
public SubtotalOptions withTotalCellStyle(TableCellStyle totalCellStyle)
The cell styling options for the subtotal cells.
totalCellStyle
- The cell styling options for the subtotal cells.public void setValueCellStyle(TableCellStyle valueCellStyle)
The cell styling options for the subtotals of value cells.
valueCellStyle
- The cell styling options for the subtotals of value cells.public TableCellStyle getValueCellStyle()
The cell styling options for the subtotals of value cells.
public SubtotalOptions withValueCellStyle(TableCellStyle valueCellStyle)
The cell styling options for the subtotals of value cells.
valueCellStyle
- The cell styling options for the subtotals of value cells.public void setMetricHeaderCellStyle(TableCellStyle metricHeaderCellStyle)
The cell styling options for the subtotals of header cells.
metricHeaderCellStyle
- The cell styling options for the subtotals of header cells.public TableCellStyle getMetricHeaderCellStyle()
The cell styling options for the subtotals of header cells.
public SubtotalOptions withMetricHeaderCellStyle(TableCellStyle metricHeaderCellStyle)
The cell styling options for the subtotals of header cells.
metricHeaderCellStyle
- The cell styling options for the subtotals of header cells.public List<TableStyleTarget> getStyleTargets()
The style targets options for subtotals.
public void setStyleTargets(Collection<TableStyleTarget> styleTargets)
The style targets options for subtotals.
styleTargets
- The style targets options for subtotals.public SubtotalOptions withStyleTargets(TableStyleTarget... styleTargets)
The style targets options for subtotals.
NOTE: This method appends the values to the existing list (if any). Use
setStyleTargets(java.util.Collection)
or withStyleTargets(java.util.Collection)
if you want to
override the existing values.
styleTargets
- The style targets options for subtotals.public SubtotalOptions withStyleTargets(Collection<TableStyleTarget> styleTargets)
The style targets options for subtotals.
styleTargets
- The style targets options for subtotals.public String toString()
toString
in class Object
Object.toString()
public SubtotalOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.