Interface StartDashboardSnapshotJobRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<StartDashboardSnapshotJobRequest.Builder,
,StartDashboardSnapshotJobRequest> QuickSightRequest.Builder
,SdkBuilder<StartDashboardSnapshotJobRequest.Builder,
,StartDashboardSnapshotJobRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
StartDashboardSnapshotJobRequest
-
Method Summary
Modifier and TypeMethodDescriptionawsAccountId
(String awsAccountId) The ID of the Amazon Web Services account that the dashboard snapshot job is executed in.dashboardId
(String dashboardId) The ID of the dashboard that you want to start a snapshot job for.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.snapshotConfiguration
(Consumer<SnapshotConfiguration.Builder> snapshotConfiguration) A structure that describes the configuration of the dashboard snapshot.snapshotConfiguration
(SnapshotConfiguration snapshotConfiguration) A structure that describes the configuration of the dashboard snapshot.snapshotJobId
(String snapshotJobId) An ID for the dashboard snapshot job.userConfiguration
(Consumer<SnapshotUserConfiguration.Builder> userConfiguration) A structure that contains information about the anonymous users that the generated snapshot is for.userConfiguration
(SnapshotUserConfiguration userConfiguration) A structure that contains information about the anonymous users that the generated snapshot is for.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.quicksight.model.QuickSightRequest.Builder
build
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 Details
-
awsAccountId
The ID of the Amazon Web Services account that the dashboard snapshot job is executed in.
- Parameters:
awsAccountId
- The ID of the Amazon Web Services account that the dashboard snapshot job is executed in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dashboardId
The ID of the dashboard that you want to start a snapshot job for.
- Parameters:
dashboardId
- The ID of the dashboard that you want to start a snapshot job for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotJobId
An ID for the dashboard snapshot job. This ID is unique to the dashboard while the job is running. This ID can be used to poll the status of a job with a
DescribeDashboardSnapshotJob
while the job runs. You can reuse this ID for another job 24 hours after the current job is completed.- Parameters:
snapshotJobId
- An ID for the dashboard snapshot job. This ID is unique to the dashboard while the job is running. This ID can be used to poll the status of a job with aDescribeDashboardSnapshotJob
while the job runs. You can reuse this ID for another job 24 hours after the current job is completed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userConfiguration
StartDashboardSnapshotJobRequest.Builder userConfiguration(SnapshotUserConfiguration userConfiguration) A structure that contains information about the anonymous users that the generated snapshot is for. This API will not return information about registered Amazon QuickSight.
- Parameters:
userConfiguration
- A structure that contains information about the anonymous users that the generated snapshot is for. This API will not return information about registered Amazon QuickSight.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userConfiguration
default StartDashboardSnapshotJobRequest.Builder userConfiguration(Consumer<SnapshotUserConfiguration.Builder> userConfiguration) A structure that contains information about the anonymous users that the generated snapshot is for. This API will not return information about registered Amazon QuickSight.
This is a convenience method that creates an instance of theSnapshotUserConfiguration.Builder
avoiding the need to create one manually viaSnapshotUserConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed touserConfiguration(SnapshotUserConfiguration)
.- Parameters:
userConfiguration
- a consumer that will call methods onSnapshotUserConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
snapshotConfiguration
StartDashboardSnapshotJobRequest.Builder snapshotConfiguration(SnapshotConfiguration snapshotConfiguration) A structure that describes the configuration of the dashboard snapshot.
- Parameters:
snapshotConfiguration
- A structure that describes the configuration of the dashboard snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotConfiguration
default StartDashboardSnapshotJobRequest.Builder snapshotConfiguration(Consumer<SnapshotConfiguration.Builder> snapshotConfiguration) A structure that describes the configuration of the dashboard snapshot.
This is a convenience method that creates an instance of theSnapshotConfiguration.Builder
avoiding the need to create one manually viaSnapshotConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosnapshotConfiguration(SnapshotConfiguration)
.- Parameters:
snapshotConfiguration
- a consumer that will call methods onSnapshotConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
StartDashboardSnapshotJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
StartDashboardSnapshotJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-