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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.quicksight.model.QuickSightRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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
DescribeDashboardSnapshotJobwhile 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 aDescribeDashboardSnapshotJobwhile 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.Builderavoiding the need to create one manually viaSnapshotUserConfiguration.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaSnapshotConfiguration.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-