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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.forecast.model.ForecastRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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,
Destinationmust 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,
Destinationmust 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 theDestinationmust include an Key Management Service (KMS) key. The IAM role must allow Amazon Forecast permission to access the key.DataDestination.Builderavoiding the need to create one manually viaDataDestination.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-