Interface CreateWhatIfForecastExportRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateWhatIfForecastExportRequest.Builder,
,CreateWhatIfForecastExportRequest> ForecastRequest.Builder
,SdkBuilder<CreateWhatIfForecastExportRequest.Builder,
,CreateWhatIfForecastExportRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateWhatIfForecastExportRequest
-
Method Summary
Modifier and TypeMethodDescriptiondestination
(Consumer<DataDestination.Builder> destination) The location where you want to save the forecast and an Identity and Access Management (IAM) role that Amazon Forecast can assume to access the location.destination
(DataDestination destination) The location where you want to save the forecast and an Identity and Access Management (IAM) role that Amazon Forecast can assume to access the location.The format of the exported data, CSV or PARQUET.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.tags
(Collection<Tag> tags) A list of tags to apply to the what if forecast.tags
(Consumer<Tag.Builder>... tags) A list of tags to apply to the what if forecast.A list of tags to apply to the what if forecast.whatIfForecastArns
(String... whatIfForecastArns) The list of what-if forecast Amazon Resource Names (ARNs) to export.whatIfForecastArns
(Collection<String> whatIfForecastArns) The list of what-if forecast Amazon Resource Names (ARNs) to export.whatIfForecastExportName
(String whatIfForecastExportName) The name of the what-if forecast to export.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.forecast.model.ForecastRequest.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
-
whatIfForecastExportName
The name of the what-if forecast to export.
- Parameters:
whatIfForecastExportName
- The name of the what-if forecast to export.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
whatIfForecastArns
The list of what-if forecast Amazon Resource Names (ARNs) to export.
- Parameters:
whatIfForecastArns
- The list of what-if forecast Amazon Resource Names (ARNs) to export.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
whatIfForecastArns
The list of what-if forecast Amazon Resource Names (ARNs) to export.
- Parameters:
whatIfForecastArns
- The list of what-if forecast Amazon Resource Names (ARNs) to export.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destination
The location where you want to save the forecast and an Identity and Access Management (IAM) role that Amazon Forecast can assume to access the location. The forecast must be exported to an Amazon S3 bucket.
If encryption is used,
Destination
must include an Key Management Service (KMS) key. The IAM role must allow Amazon Forecast permission to access the key.- Parameters:
destination
- The location where you want to save the forecast and an Identity and Access Management (IAM) role that Amazon Forecast can assume to access the location. The forecast must be exported to an Amazon S3 bucket.If encryption is used,
Destination
must include an Key Management Service (KMS) key. The IAM role must allow Amazon Forecast permission to access the key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destination
default CreateWhatIfForecastExportRequest.Builder destination(Consumer<DataDestination.Builder> destination) The location where you want to save the forecast and an Identity and Access Management (IAM) role that Amazon Forecast can assume to access the location. The forecast must be exported to an Amazon S3 bucket.
If encryption is used,
This is a convenience method that creates an instance of theDestination
must include an Key Management Service (KMS) key. The IAM role must allow Amazon Forecast permission to access the key.DataDestination.Builder
avoiding the need to create one manually viaDataDestination.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todestination(DataDestination)
.- Parameters:
destination
- a consumer that will call methods onDataDestination.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
-
tags
-
tags
A list of tags to apply to the what if forecast.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
format
The format of the exported data, CSV or PARQUET.
- Parameters:
format
- The format of the exported data, CSV or PARQUET.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateWhatIfForecastExportRequest.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
CreateWhatIfForecastExportRequest.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.
-