Interface CreateCapacityManagerDataExportRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateCapacityManagerDataExportRequest.Builder,
,CreateCapacityManagerDataExportRequest> Ec2Request.Builder
,SdkBuilder<CreateCapacityManagerDataExportRequest.Builder,
,CreateCapacityManagerDataExportRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateCapacityManagerDataExportRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.outputFormat
(String outputFormat) The file format for the exported data.outputFormat
(OutputFormat outputFormat) The file format for the exported data.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.s3BucketName
(String s3BucketName) The name of the S3 bucket where the capacity data export files will be delivered.s3BucketPrefix
(String s3BucketPrefix) The S3 key prefix for the exported data files.The frequency at which data exports are generated.The frequency at which data exports are generated.tagSpecifications
(Collection<TagSpecification> tagSpecifications) The tags to apply to the data export configuration.tagSpecifications
(Consumer<TagSpecification.Builder>... tagSpecifications) The tags to apply to the data export configuration.tagSpecifications
(TagSpecification... tagSpecifications) The tags to apply to the data export configuration.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.ec2.model.Ec2Request.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
-
s3BucketName
The name of the S3 bucket where the capacity data export files will be delivered. The bucket must exist and you must have write permissions to it.
- Parameters:
s3BucketName
- The name of the S3 bucket where the capacity data export files will be delivered. The bucket must exist and you must have write permissions to it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3BucketPrefix
The S3 key prefix for the exported data files. This allows you to organize exports in a specific folder structure within your bucket. If not specified, files are placed at the bucket root.
- Parameters:
s3BucketPrefix
- The S3 key prefix for the exported data files. This allows you to organize exports in a specific folder structure within your bucket. If not specified, files are placed at the bucket root.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schedule
The frequency at which data exports are generated.
- Parameters:
schedule
- The frequency at which data exports are generated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
schedule
The frequency at which data exports are generated.
- Parameters:
schedule
- The frequency at which data exports are generated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
outputFormat
The file format for the exported data. Parquet format is recommended for large datasets and better compression.
- Parameters:
outputFormat
- The file format for the exported data. Parquet format is recommended for large datasets and better compression.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
outputFormat
The file format for the exported data. Parquet format is recommended for large datasets and better compression.
- Parameters:
outputFormat
- The file format for the exported data. Parquet format is recommended for large datasets and better compression.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensure Idempotency.
- Parameters:
clientToken
- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensure Idempotency.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dryRun
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it isUnauthorizedOperation
.- Parameters:
dryRun
- Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response isDryRunOperation
. Otherwise, it isUnauthorizedOperation
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagSpecifications
CreateCapacityManagerDataExportRequest.Builder tagSpecifications(Collection<TagSpecification> tagSpecifications) The tags to apply to the data export configuration. You can tag the export for organization and cost tracking purposes.
- Parameters:
tagSpecifications
- The tags to apply to the data export configuration. You can tag the export for organization and cost tracking purposes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagSpecifications
CreateCapacityManagerDataExportRequest.Builder tagSpecifications(TagSpecification... tagSpecifications) The tags to apply to the data export configuration. You can tag the export for organization and cost tracking purposes.
- Parameters:
tagSpecifications
- The tags to apply to the data export configuration. You can tag the export for organization and cost tracking purposes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagSpecifications
CreateCapacityManagerDataExportRequest.Builder tagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications) The tags to apply to the data export configuration. You can tag the export for organization and cost tracking purposes.
This is a convenience method that creates an instance of theTagSpecification.Builder
avoiding the need to create one manually viaTagSpecification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totagSpecifications(List<TagSpecification>)
.- Parameters:
tagSpecifications
- a consumer that will call methods onTagSpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateCapacityManagerDataExportRequest.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
CreateCapacityManagerDataExportRequest.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.
-