Interface SnapshotFile.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<SnapshotFile.Builder,SnapshotFile>
,SdkBuilder<SnapshotFile.Builder,SnapshotFile>
,SdkPojo
- Enclosing class:
- SnapshotFile
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.Builder
formatType(String formatType)
The format of the snapshot file to be generated.SnapshotFile.Builder
formatType(SnapshotFileFormatType formatType)
The format of the snapshot file to be generated.SnapshotFile.Builder
sheetSelections(Collection<SnapshotFileSheetSelection> sheetSelections)
A list ofSnapshotFileSheetSelection
objects that contain information on the dashboard sheet that is exported.SnapshotFile.Builder
sheetSelections(Consumer<SnapshotFileSheetSelection.Builder>... sheetSelections)
A list ofSnapshotFileSheetSelection
objects that contain information on the dashboard sheet that is exported.SnapshotFile.Builder
sheetSelections(SnapshotFileSheetSelection... sheetSelections)
A list ofSnapshotFileSheetSelection
objects 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, sdkFields
-
-
-
-
Method Detail
-
sheetSelections
SnapshotFile.Builder sheetSelections(Collection<SnapshotFileSheetSelection> sheetSelections)
A list of
SnapshotFileSheetSelection
objects 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 ofSnapshotFileSheetSelection
objects 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
SnapshotFileSheetSelection
objects 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 ofSnapshotFileSheetSelection
objects 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 theSnapshotFileSheetSelection
objects 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.Builder
avoiding the need to create one manually viaSnapshotFileSheetSelection.builder()
.When the
Consumer
completes,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
-
-