public static interface ExportEcsServiceRecommendationsRequest.Builder extends ComputeOptimizerRequest.Builder, SdkPojo, CopyableBuilder<ExportEcsServiceRecommendationsRequest.Builder,ExportEcsServiceRecommendationsRequest>
| Modifier and Type | Method and Description |
|---|---|
ExportEcsServiceRecommendationsRequest.Builder |
accountIds(Collection<String> accountIds)
The Amazon Web Services account IDs for the export Amazon ECS service recommendations.
|
ExportEcsServiceRecommendationsRequest.Builder |
accountIds(String... accountIds)
The Amazon Web Services account IDs for the export Amazon ECS service recommendations.
|
ExportEcsServiceRecommendationsRequest.Builder |
fieldsToExport(Collection<ExportableECSServiceField> fieldsToExport)
The recommendations data to include in the export file.
|
ExportEcsServiceRecommendationsRequest.Builder |
fieldsToExport(ExportableECSServiceField... fieldsToExport)
The recommendations data to include in the export file.
|
ExportEcsServiceRecommendationsRequest.Builder |
fieldsToExportWithStrings(Collection<String> fieldsToExport)
The recommendations data to include in the export file.
|
ExportEcsServiceRecommendationsRequest.Builder |
fieldsToExportWithStrings(String... fieldsToExport)
The recommendations data to include in the export file.
|
ExportEcsServiceRecommendationsRequest.Builder |
fileFormat(FileFormat fileFormat)
The format of the export file.
|
ExportEcsServiceRecommendationsRequest.Builder |
fileFormat(String fileFormat)
The format of the export file.
|
ExportEcsServiceRecommendationsRequest.Builder |
filters(Collection<ECSServiceRecommendationFilter> filters)
An array of objects to specify a filter that exports a more specific set of Amazon ECS service
recommendations.
|
ExportEcsServiceRecommendationsRequest.Builder |
filters(Consumer<ECSServiceRecommendationFilter.Builder>... filters)
An array of objects to specify a filter that exports a more specific set of Amazon ECS service
recommendations.
|
ExportEcsServiceRecommendationsRequest.Builder |
filters(ECSServiceRecommendationFilter... filters)
An array of objects to specify a filter that exports a more specific set of Amazon ECS service
recommendations.
|
ExportEcsServiceRecommendationsRequest.Builder |
includeMemberAccounts(Boolean includeMemberAccounts)
If your account is the management account or the delegated administrator of an organization, this parameter
indicates whether to include recommendations for resources in all member accounts of the organization.
|
ExportEcsServiceRecommendationsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
ExportEcsServiceRecommendationsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
default ExportEcsServiceRecommendationsRequest.Builder |
s3DestinationConfig(Consumer<S3DestinationConfig.Builder> s3DestinationConfig)
Sets the value of the S3DestinationConfig property for this object.
|
ExportEcsServiceRecommendationsRequest.Builder |
s3DestinationConfig(S3DestinationConfig s3DestinationConfig)
Sets the value of the S3DestinationConfig property for this object.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildExportEcsServiceRecommendationsRequest.Builder accountIds(Collection<String> accountIds)
The Amazon Web Services account IDs for the export Amazon ECS service recommendations.
If your account is the management account or the delegated administrator of an organization, use this parameter to specify the member account you want to export recommendations to.
This parameter can't be specified together with the include member accounts parameter. The parameters are mutually exclusive.
If this parameter or the include member accounts parameter is omitted, the recommendations for member accounts aren't included in the export.
You can specify multiple account IDs per request.
accountIds - The Amazon Web Services account IDs for the export Amazon ECS service recommendations.
If your account is the management account or the delegated administrator of an organization, use this parameter to specify the member account you want to export recommendations to.
This parameter can't be specified together with the include member accounts parameter. The parameters are mutually exclusive.
If this parameter or the include member accounts parameter is omitted, the recommendations for member accounts aren't included in the export.
You can specify multiple account IDs per request.
ExportEcsServiceRecommendationsRequest.Builder accountIds(String... accountIds)
The Amazon Web Services account IDs for the export Amazon ECS service recommendations.
If your account is the management account or the delegated administrator of an organization, use this parameter to specify the member account you want to export recommendations to.
This parameter can't be specified together with the include member accounts parameter. The parameters are mutually exclusive.
If this parameter or the include member accounts parameter is omitted, the recommendations for member accounts aren't included in the export.
You can specify multiple account IDs per request.
accountIds - The Amazon Web Services account IDs for the export Amazon ECS service recommendations.
If your account is the management account or the delegated administrator of an organization, use this parameter to specify the member account you want to export recommendations to.
This parameter can't be specified together with the include member accounts parameter. The parameters are mutually exclusive.
If this parameter or the include member accounts parameter is omitted, the recommendations for member accounts aren't included in the export.
You can specify multiple account IDs per request.
ExportEcsServiceRecommendationsRequest.Builder filters(Collection<ECSServiceRecommendationFilter> filters)
An array of objects to specify a filter that exports a more specific set of Amazon ECS service recommendations.
filters - An array of objects to specify a filter that exports a more specific set of Amazon ECS service
recommendations.ExportEcsServiceRecommendationsRequest.Builder filters(ECSServiceRecommendationFilter... filters)
An array of objects to specify a filter that exports a more specific set of Amazon ECS service recommendations.
filters - An array of objects to specify a filter that exports a more specific set of Amazon ECS service
recommendations.ExportEcsServiceRecommendationsRequest.Builder filters(Consumer<ECSServiceRecommendationFilter.Builder>... filters)
An array of objects to specify a filter that exports a more specific set of Amazon ECS service recommendations.
This is a convenience method that creates an instance of theECSServiceRecommendationFilter.Builder
avoiding the need to create one manually via
ECSServiceRecommendationFilter.builder().
When the Consumer completes,
SdkBuilder.build()
is called immediately and its result is passed to #filters(List.
filters - a consumer that will call methods on
ECSServiceRecommendationFilter.Builder#filters(java.util.Collection) ExportEcsServiceRecommendationsRequest.Builder fieldsToExportWithStrings(Collection<String> fieldsToExport)
The recommendations data to include in the export file. For more information about the fields that can be exported, see Exported files in the Compute Optimizer User Guide.
fieldsToExport - The recommendations data to include in the export file. For more information about the fields that can
be exported, see Exported files in the Compute Optimizer User Guide.ExportEcsServiceRecommendationsRequest.Builder fieldsToExportWithStrings(String... fieldsToExport)
The recommendations data to include in the export file. For more information about the fields that can be exported, see Exported files in the Compute Optimizer User Guide.
fieldsToExport - The recommendations data to include in the export file. For more information about the fields that can
be exported, see Exported files in the Compute Optimizer User Guide.ExportEcsServiceRecommendationsRequest.Builder fieldsToExport(Collection<ExportableECSServiceField> fieldsToExport)
The recommendations data to include in the export file. For more information about the fields that can be exported, see Exported files in the Compute Optimizer User Guide.
fieldsToExport - The recommendations data to include in the export file. For more information about the fields that can
be exported, see Exported files in the Compute Optimizer User Guide.ExportEcsServiceRecommendationsRequest.Builder fieldsToExport(ExportableECSServiceField... fieldsToExport)
The recommendations data to include in the export file. For more information about the fields that can be exported, see Exported files in the Compute Optimizer User Guide.
fieldsToExport - The recommendations data to include in the export file. For more information about the fields that can
be exported, see Exported files in the Compute Optimizer User Guide.ExportEcsServiceRecommendationsRequest.Builder s3DestinationConfig(S3DestinationConfig s3DestinationConfig)
s3DestinationConfig - The new value for the S3DestinationConfig property for this object.default ExportEcsServiceRecommendationsRequest.Builder s3DestinationConfig(Consumer<S3DestinationConfig.Builder> s3DestinationConfig)
S3DestinationConfig.Builder avoiding the
need to create one manually via S3DestinationConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to s3DestinationConfig(S3DestinationConfig).
s3DestinationConfig - a consumer that will call methods on S3DestinationConfig.Builders3DestinationConfig(S3DestinationConfig)ExportEcsServiceRecommendationsRequest.Builder fileFormat(String fileFormat)
The format of the export file.
The CSV file is the only export file format currently supported.
fileFormat - The format of the export file.
The CSV file is the only export file format currently supported.
FileFormat,
FileFormatExportEcsServiceRecommendationsRequest.Builder fileFormat(FileFormat fileFormat)
The format of the export file.
The CSV file is the only export file format currently supported.
fileFormat - The format of the export file.
The CSV file is the only export file format currently supported.
FileFormat,
FileFormatExportEcsServiceRecommendationsRequest.Builder includeMemberAccounts(Boolean includeMemberAccounts)
If your account is the management account or the delegated administrator of an organization, this parameter indicates whether to include recommendations for resources in all member accounts of the organization.
The member accounts must also be opted in to Compute Optimizer, and trusted access for Compute Optimizer must be enabled in the organization account. For more information, see Compute Optimizer and Amazon Web Services Organizations trusted access in the Compute Optimizer User Guide.
If this parameter is omitted, recommendations for member accounts of the organization aren't included in the export file.
If this parameter or the account ID parameter is omitted, recommendations for member accounts aren't included in the export.
includeMemberAccounts - If your account is the management account or the delegated administrator of an organization, this
parameter indicates whether to include recommendations for resources in all member accounts of the
organization.
The member accounts must also be opted in to Compute Optimizer, and trusted access for Compute Optimizer must be enabled in the organization account. For more information, see Compute Optimizer and Amazon Web Services Organizations trusted access in the Compute Optimizer User Guide.
If this parameter is omitted, recommendations for member accounts of the organization aren't included in the export file.
If this parameter or the account ID parameter is omitted, recommendations for member accounts aren't included in the export.
ExportEcsServiceRecommendationsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderExportEcsServiceRecommendationsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.