Interface SnapshotFile.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SnapshotFile.Builder,SnapshotFile>,SdkBuilder<SnapshotFile.Builder,SnapshotFile>,SdkPojo
- Enclosing class:
- SnapshotFile
@Mutable @NotThreadSafe public static interface SnapshotFile.Builder extends SdkPojo, CopyableBuilder<SnapshotFile.Builder,SnapshotFile>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SnapshotFile.BuilderformatType(String formatType)The format of the snapshot file to be generated.SnapshotFile.BuilderformatType(SnapshotFileFormatType formatType)The format of the snapshot file to be generated.SnapshotFile.BuildersheetSelections(Collection<SnapshotFileSheetSelection> sheetSelections)A list ofSnapshotFileSheetSelectionobjects that contain information on the dashboard sheet that is exported.SnapshotFile.BuildersheetSelections(Consumer<SnapshotFileSheetSelection.Builder>... sheetSelections)A list ofSnapshotFileSheetSelectionobjects that contain information on the dashboard sheet that is exported.SnapshotFile.BuildersheetSelections(SnapshotFileSheetSelection... sheetSelections)A list ofSnapshotFileSheetSelectionobjects that contain information on the dashboard sheet that is exported.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
sheetSelections
SnapshotFile.Builder sheetSelections(Collection<SnapshotFileSheetSelection> sheetSelections)
A list of
SnapshotFileSheetSelectionobjects that contain information on the dashboard sheet that is exported. These objects provide information about the snapshot artifacts that are generated during the job. This structure can hold a maximum of 5 CSV configurations, 5 Excel configurations, or 1 configuration for PDF.- Parameters:
sheetSelections- A list ofSnapshotFileSheetSelectionobjects that contain information on the dashboard sheet that is exported. These objects provide information about the snapshot artifacts that are generated during the job. This structure can hold a maximum of 5 CSV configurations, 5 Excel configurations, or 1 configuration for PDF.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sheetSelections
SnapshotFile.Builder sheetSelections(SnapshotFileSheetSelection... sheetSelections)
A list of
SnapshotFileSheetSelectionobjects that contain information on the dashboard sheet that is exported. These objects provide information about the snapshot artifacts that are generated during the job. This structure can hold a maximum of 5 CSV configurations, 5 Excel configurations, or 1 configuration for PDF.- Parameters:
sheetSelections- A list ofSnapshotFileSheetSelectionobjects that contain information on the dashboard sheet that is exported. These objects provide information about the snapshot artifacts that are generated during the job. This structure can hold a maximum of 5 CSV configurations, 5 Excel configurations, or 1 configuration for PDF.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sheetSelections
SnapshotFile.Builder sheetSelections(Consumer<SnapshotFileSheetSelection.Builder>... sheetSelections)
A list of
This is a convenience method that creates an instance of theSnapshotFileSheetSelectionobjects that contain information on the dashboard sheet that is exported. These objects provide information about the snapshot artifacts that are generated during the job. This structure can hold a maximum of 5 CSV configurations, 5 Excel configurations, or 1 configuration for PDF.SnapshotFileSheetSelection.Builderavoiding the need to create one manually viaSnapshotFileSheetSelection.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#sheetSelections(List.) - Parameters:
sheetSelections- a consumer that will call methods onSnapshotFileSheetSelection.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#sheetSelections(java.util.Collection)
-
formatType
SnapshotFile.Builder formatType(String formatType)
The format of the snapshot file to be generated. You can choose between
CSV,Excel, orPDF.- Parameters:
formatType- The format of the snapshot file to be generated. You can choose betweenCSV,Excel, orPDF.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SnapshotFileFormatType,SnapshotFileFormatType
-
formatType
SnapshotFile.Builder formatType(SnapshotFileFormatType formatType)
The format of the snapshot file to be generated. You can choose between
CSV,Excel, orPDF.- Parameters:
formatType- The format of the snapshot file to be generated. You can choose betweenCSV,Excel, orPDF.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SnapshotFileFormatType,SnapshotFileFormatType
-
-