@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExportECSServiceRecommendationsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ExportECSServiceRecommendationsRequest() |
Modifier and Type | Method and Description |
---|---|
ExportECSServiceRecommendationsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getAccountIds()
The Amazon Web Services account IDs for the export Amazon ECS service recommendations.
|
List<String> |
getFieldsToExport()
The recommendations data to include in the export file.
|
String |
getFileFormat()
The format of the export file.
|
List<ECSServiceRecommendationFilter> |
getFilters()
An array of objects to specify a filter that exports a more specific set of Amazon ECS service recommendations.
|
Boolean |
getIncludeMemberAccounts()
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.
|
S3DestinationConfig |
getS3DestinationConfig() |
int |
hashCode() |
Boolean |
isIncludeMemberAccounts()
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.
|
void |
setAccountIds(Collection<String> accountIds)
The Amazon Web Services account IDs for the export Amazon ECS service recommendations.
|
void |
setFieldsToExport(Collection<String> fieldsToExport)
The recommendations data to include in the export file.
|
void |
setFileFormat(String fileFormat)
The format of the export file.
|
void |
setFilters(Collection<ECSServiceRecommendationFilter> filters)
An array of objects to specify a filter that exports a more specific set of Amazon ECS service recommendations.
|
void |
setIncludeMemberAccounts(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.
|
void |
setS3DestinationConfig(S3DestinationConfig s3DestinationConfig) |
String |
toString()
Returns a string representation of this object.
|
ExportECSServiceRecommendationsRequest |
withAccountIds(Collection<String> accountIds)
The Amazon Web Services account IDs for the export Amazon ECS service recommendations.
|
ExportECSServiceRecommendationsRequest |
withAccountIds(String... accountIds)
The Amazon Web Services account IDs for the export Amazon ECS service recommendations.
|
ExportECSServiceRecommendationsRequest |
withFieldsToExport(Collection<String> fieldsToExport)
The recommendations data to include in the export file.
|
ExportECSServiceRecommendationsRequest |
withFieldsToExport(ExportableECSServiceField... fieldsToExport)
The recommendations data to include in the export file.
|
ExportECSServiceRecommendationsRequest |
withFieldsToExport(String... fieldsToExport)
The recommendations data to include in the export file.
|
ExportECSServiceRecommendationsRequest |
withFileFormat(FileFormat fileFormat)
The format of the export file.
|
ExportECSServiceRecommendationsRequest |
withFileFormat(String fileFormat)
The format of the export file.
|
ExportECSServiceRecommendationsRequest |
withFilters(Collection<ECSServiceRecommendationFilter> filters)
An array of objects to specify a filter that exports a more specific set of Amazon ECS service recommendations.
|
ExportECSServiceRecommendationsRequest |
withFilters(ECSServiceRecommendationFilter... filters)
An array of objects to specify a filter that exports a more specific set of Amazon ECS service recommendations.
|
ExportECSServiceRecommendationsRequest |
withIncludeMemberAccounts(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 |
withS3DestinationConfig(S3DestinationConfig s3DestinationConfig) |
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public ExportECSServiceRecommendationsRequest()
public List<String> getAccountIds()
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.
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.
public void setAccountIds(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.
public ExportECSServiceRecommendationsRequest withAccountIds(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.
NOTE: This method appends the values to the existing list (if any). Use
setAccountIds(java.util.Collection)
or withAccountIds(java.util.Collection)
if you want to
override the existing values.
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.
public ExportECSServiceRecommendationsRequest withAccountIds(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.
public List<ECSServiceRecommendationFilter> getFilters()
An array of objects to specify a filter that exports a more specific set of Amazon ECS service recommendations.
public void setFilters(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.public ExportECSServiceRecommendationsRequest withFilters(ECSServiceRecommendationFilter... filters)
An array of objects to specify a filter that exports a more specific set of Amazon ECS service recommendations.
NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection)
or withFilters(java.util.Collection)
if you want to override
the existing values.
filters
- An array of objects to specify a filter that exports a more specific set of Amazon ECS service
recommendations.public ExportECSServiceRecommendationsRequest withFilters(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.public List<String> getFieldsToExport()
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.
ExportableECSServiceField
public void setFieldsToExport(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.ExportableECSServiceField
public ExportECSServiceRecommendationsRequest withFieldsToExport(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.
NOTE: This method appends the values to the existing list (if any). Use
setFieldsToExport(java.util.Collection)
or withFieldsToExport(java.util.Collection)
if you want
to override the existing values.
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.ExportableECSServiceField
public ExportECSServiceRecommendationsRequest withFieldsToExport(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.ExportableECSServiceField
public ExportECSServiceRecommendationsRequest withFieldsToExport(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.ExportableECSServiceField
public void setS3DestinationConfig(S3DestinationConfig s3DestinationConfig)
s3DestinationConfig
- public S3DestinationConfig getS3DestinationConfig()
public ExportECSServiceRecommendationsRequest withS3DestinationConfig(S3DestinationConfig s3DestinationConfig)
s3DestinationConfig
- public void setFileFormat(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
public String getFileFormat()
The format of the export file.
The CSV file is the only export file format currently supported.
The CSV file is the only export file format currently supported.
FileFormat
public ExportECSServiceRecommendationsRequest withFileFormat(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
public ExportECSServiceRecommendationsRequest withFileFormat(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
public void setIncludeMemberAccounts(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.
public Boolean getIncludeMemberAccounts()
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.
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.
public ExportECSServiceRecommendationsRequest withIncludeMemberAccounts(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.
public Boolean isIncludeMemberAccounts()
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.
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.
public String toString()
toString
in class Object
Object.toString()
public ExportECSServiceRecommendationsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()