@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExportAutoScalingGroupRecommendationsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ExportAutoScalingGroupRecommendationsRequest() |
Modifier and Type | Method and Description |
---|---|
ExportAutoScalingGroupRecommendationsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getAccountIds()
The IDs of the AWS accounts for which to export Auto Scaling group recommendations.
|
List<String> |
getFieldsToExport()
The recommendations data to include in the export file.
|
String |
getFileFormat()
The format of the export file.
|
List<Filter> |
getFilters()
An array of objects that describe a filter to export a more specific set of Auto Scaling group recommendations.
|
Boolean |
getIncludeMemberAccounts()
Indicates whether to include recommendations for resources in all member accounts of the organization if your
account is the master account of an organization.
|
S3DestinationConfig |
getS3DestinationConfig()
An object to specify the destination Amazon Simple Storage Service (Amazon S3) bucket name and key prefix for the
export job.
|
int |
hashCode() |
Boolean |
isIncludeMemberAccounts()
Indicates whether to include recommendations for resources in all member accounts of the organization if your
account is the master account of an organization.
|
void |
setAccountIds(Collection<String> accountIds)
The IDs of the AWS accounts for which to export Auto Scaling group 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<Filter> filters)
An array of objects that describe a filter to export a more specific set of Auto Scaling group recommendations.
|
void |
setIncludeMemberAccounts(Boolean includeMemberAccounts)
Indicates whether to include recommendations for resources in all member accounts of the organization if your
account is the master account of an organization.
|
void |
setS3DestinationConfig(S3DestinationConfig s3DestinationConfig)
An object to specify the destination Amazon Simple Storage Service (Amazon S3) bucket name and key prefix for the
export job.
|
String |
toString()
Returns a string representation of this object.
|
ExportAutoScalingGroupRecommendationsRequest |
withAccountIds(Collection<String> accountIds)
The IDs of the AWS accounts for which to export Auto Scaling group recommendations.
|
ExportAutoScalingGroupRecommendationsRequest |
withAccountIds(String... accountIds)
The IDs of the AWS accounts for which to export Auto Scaling group recommendations.
|
ExportAutoScalingGroupRecommendationsRequest |
withFieldsToExport(Collection<String> fieldsToExport)
The recommendations data to include in the export file.
|
ExportAutoScalingGroupRecommendationsRequest |
withFieldsToExport(ExportableAutoScalingGroupField... fieldsToExport)
The recommendations data to include in the export file.
|
ExportAutoScalingGroupRecommendationsRequest |
withFieldsToExport(String... fieldsToExport)
The recommendations data to include in the export file.
|
ExportAutoScalingGroupRecommendationsRequest |
withFileFormat(FileFormat fileFormat)
The format of the export file.
|
ExportAutoScalingGroupRecommendationsRequest |
withFileFormat(String fileFormat)
The format of the export file.
|
ExportAutoScalingGroupRecommendationsRequest |
withFilters(Collection<Filter> filters)
An array of objects that describe a filter to export a more specific set of Auto Scaling group recommendations.
|
ExportAutoScalingGroupRecommendationsRequest |
withFilters(Filter... filters)
An array of objects that describe a filter to export a more specific set of Auto Scaling group recommendations.
|
ExportAutoScalingGroupRecommendationsRequest |
withIncludeMemberAccounts(Boolean includeMemberAccounts)
Indicates whether to include recommendations for resources in all member accounts of the organization if your
account is the master account of an organization.
|
ExportAutoScalingGroupRecommendationsRequest |
withS3DestinationConfig(S3DestinationConfig s3DestinationConfig)
An object to specify the destination Amazon Simple Storage Service (Amazon S3) bucket name and key prefix for the
export job.
|
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 ExportAutoScalingGroupRecommendationsRequest()
public List<String> getAccountIds()
The IDs of the AWS accounts for which to export Auto Scaling group recommendations.
If your account is the master account of an organization, use this parameter to specify the member accounts for which you want to export recommendations.
This parameter cannot be specified together with the include member accounts parameter. The parameters are mutually exclusive.
Recommendations for member accounts are not included in the export if this parameter, or the include member accounts parameter, is omitted.
You can specify multiple account IDs per request.
If your account is the master account of an organization, use this parameter to specify the member accounts for which you want to export recommendations.
This parameter cannot be specified together with the include member accounts parameter. The parameters are mutually exclusive.
Recommendations for member accounts are not included in the export if this parameter, or the include member accounts parameter, is omitted.
You can specify multiple account IDs per request.
public void setAccountIds(Collection<String> accountIds)
The IDs of the AWS accounts for which to export Auto Scaling group recommendations.
If your account is the master account of an organization, use this parameter to specify the member accounts for which you want to export recommendations.
This parameter cannot be specified together with the include member accounts parameter. The parameters are mutually exclusive.
Recommendations for member accounts are not included in the export if this parameter, or the include member accounts parameter, is omitted.
You can specify multiple account IDs per request.
accountIds
- The IDs of the AWS accounts for which to export Auto Scaling group recommendations.
If your account is the master account of an organization, use this parameter to specify the member accounts for which you want to export recommendations.
This parameter cannot be specified together with the include member accounts parameter. The parameters are mutually exclusive.
Recommendations for member accounts are not included in the export if this parameter, or the include member accounts parameter, is omitted.
You can specify multiple account IDs per request.
public ExportAutoScalingGroupRecommendationsRequest withAccountIds(String... accountIds)
The IDs of the AWS accounts for which to export Auto Scaling group recommendations.
If your account is the master account of an organization, use this parameter to specify the member accounts for which you want to export recommendations.
This parameter cannot be specified together with the include member accounts parameter. The parameters are mutually exclusive.
Recommendations for member accounts are not included in the export if this parameter, or the include member accounts parameter, is omitted.
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 IDs of the AWS accounts for which to export Auto Scaling group recommendations.
If your account is the master account of an organization, use this parameter to specify the member accounts for which you want to export recommendations.
This parameter cannot be specified together with the include member accounts parameter. The parameters are mutually exclusive.
Recommendations for member accounts are not included in the export if this parameter, or the include member accounts parameter, is omitted.
You can specify multiple account IDs per request.
public ExportAutoScalingGroupRecommendationsRequest withAccountIds(Collection<String> accountIds)
The IDs of the AWS accounts for which to export Auto Scaling group recommendations.
If your account is the master account of an organization, use this parameter to specify the member accounts for which you want to export recommendations.
This parameter cannot be specified together with the include member accounts parameter. The parameters are mutually exclusive.
Recommendations for member accounts are not included in the export if this parameter, or the include member accounts parameter, is omitted.
You can specify multiple account IDs per request.
accountIds
- The IDs of the AWS accounts for which to export Auto Scaling group recommendations.
If your account is the master account of an organization, use this parameter to specify the member accounts for which you want to export recommendations.
This parameter cannot be specified together with the include member accounts parameter. The parameters are mutually exclusive.
Recommendations for member accounts are not included in the export if this parameter, or the include member accounts parameter, is omitted.
You can specify multiple account IDs per request.
public List<Filter> getFilters()
An array of objects that describe a filter to export a more specific set of Auto Scaling group recommendations.
public void setFilters(Collection<Filter> filters)
An array of objects that describe a filter to export a more specific set of Auto Scaling group recommendations.
filters
- An array of objects that describe a filter to export a more specific set of Auto Scaling group
recommendations.public ExportAutoScalingGroupRecommendationsRequest withFilters(Filter... filters)
An array of objects that describe a filter to export a more specific set of Auto Scaling group 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 that describe a filter to export a more specific set of Auto Scaling group
recommendations.public ExportAutoScalingGroupRecommendationsRequest withFilters(Collection<Filter> filters)
An array of objects that describe a filter to export a more specific set of Auto Scaling group recommendations.
filters
- An array of objects that describe a filter to export a more specific set of Auto Scaling group
recommendations.public List<String> getFieldsToExport()
The recommendations data to include in the export file.
ExportableAutoScalingGroupField
public void setFieldsToExport(Collection<String> fieldsToExport)
The recommendations data to include in the export file.
fieldsToExport
- The recommendations data to include in the export file.ExportableAutoScalingGroupField
public ExportAutoScalingGroupRecommendationsRequest withFieldsToExport(String... fieldsToExport)
The recommendations data to include in the export file.
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.ExportableAutoScalingGroupField
public ExportAutoScalingGroupRecommendationsRequest withFieldsToExport(Collection<String> fieldsToExport)
The recommendations data to include in the export file.
fieldsToExport
- The recommendations data to include in the export file.ExportableAutoScalingGroupField
public ExportAutoScalingGroupRecommendationsRequest withFieldsToExport(ExportableAutoScalingGroupField... fieldsToExport)
The recommendations data to include in the export file.
fieldsToExport
- The recommendations data to include in the export file.ExportableAutoScalingGroupField
public void setS3DestinationConfig(S3DestinationConfig s3DestinationConfig)
An object to specify the destination Amazon Simple Storage Service (Amazon S3) bucket name and key prefix for the export job.
You must create the destination Amazon S3 bucket for your recommendations export before you create the export job. Compute Optimizer does not create the S3 bucket for you. After you create the S3 bucket, ensure that it has the required permission policy to allow Compute Optimizer to write the export file to it. If you plan to specify an object prefix when you create the export job, you must include the object prefix in the policy that you add to the S3 bucket. For more information, see Amazon S3 Bucket Policy for Compute Optimizer in the Compute Optimizer user guide.
s3DestinationConfig
- An object to specify the destination Amazon Simple Storage Service (Amazon S3) bucket name and key prefix
for the export job.
You must create the destination Amazon S3 bucket for your recommendations export before you create the export job. Compute Optimizer does not create the S3 bucket for you. After you create the S3 bucket, ensure that it has the required permission policy to allow Compute Optimizer to write the export file to it. If you plan to specify an object prefix when you create the export job, you must include the object prefix in the policy that you add to the S3 bucket. For more information, see Amazon S3 Bucket Policy for Compute Optimizer in the Compute Optimizer user guide.
public S3DestinationConfig getS3DestinationConfig()
An object to specify the destination Amazon Simple Storage Service (Amazon S3) bucket name and key prefix for the export job.
You must create the destination Amazon S3 bucket for your recommendations export before you create the export job. Compute Optimizer does not create the S3 bucket for you. After you create the S3 bucket, ensure that it has the required permission policy to allow Compute Optimizer to write the export file to it. If you plan to specify an object prefix when you create the export job, you must include the object prefix in the policy that you add to the S3 bucket. For more information, see Amazon S3 Bucket Policy for Compute Optimizer in the Compute Optimizer user guide.
You must create the destination Amazon S3 bucket for your recommendations export before you create the export job. Compute Optimizer does not create the S3 bucket for you. After you create the S3 bucket, ensure that it has the required permission policy to allow Compute Optimizer to write the export file to it. If you plan to specify an object prefix when you create the export job, you must include the object prefix in the policy that you add to the S3 bucket. For more information, see Amazon S3 Bucket Policy for Compute Optimizer in the Compute Optimizer user guide.
public ExportAutoScalingGroupRecommendationsRequest withS3DestinationConfig(S3DestinationConfig s3DestinationConfig)
An object to specify the destination Amazon Simple Storage Service (Amazon S3) bucket name and key prefix for the export job.
You must create the destination Amazon S3 bucket for your recommendations export before you create the export job. Compute Optimizer does not create the S3 bucket for you. After you create the S3 bucket, ensure that it has the required permission policy to allow Compute Optimizer to write the export file to it. If you plan to specify an object prefix when you create the export job, you must include the object prefix in the policy that you add to the S3 bucket. For more information, see Amazon S3 Bucket Policy for Compute Optimizer in the Compute Optimizer user guide.
s3DestinationConfig
- An object to specify the destination Amazon Simple Storage Service (Amazon S3) bucket name and key prefix
for the export job.
You must create the destination Amazon S3 bucket for your recommendations export before you create the export job. Compute Optimizer does not create the S3 bucket for you. After you create the S3 bucket, ensure that it has the required permission policy to allow Compute Optimizer to write the export file to it. If you plan to specify an object prefix when you create the export job, you must include the object prefix in the policy that you add to the S3 bucket. For more information, see Amazon S3 Bucket Policy for Compute Optimizer in the Compute Optimizer user guide.
public void setFileFormat(String fileFormat)
The format of the export file.
The only export file format currently supported is Csv
.
fileFormat
- The format of the export file.
The only export file format currently supported is Csv
.
FileFormat
public String getFileFormat()
The format of the export file.
The only export file format currently supported is Csv
.
The only export file format currently supported is Csv
.
FileFormat
public ExportAutoScalingGroupRecommendationsRequest withFileFormat(String fileFormat)
The format of the export file.
The only export file format currently supported is Csv
.
fileFormat
- The format of the export file.
The only export file format currently supported is Csv
.
FileFormat
public ExportAutoScalingGroupRecommendationsRequest withFileFormat(FileFormat fileFormat)
The format of the export file.
The only export file format currently supported is Csv
.
fileFormat
- The format of the export file.
The only export file format currently supported is Csv
.
FileFormat
public void setIncludeMemberAccounts(Boolean includeMemberAccounts)
Indicates whether to include recommendations for resources in all member accounts of the organization if your account is the master account of an organization.
The member accounts must also be opted in to Compute Optimizer.
Recommendations for member accounts of the organization are not included in the export file if this parameter is omitted.
This parameter cannot be specified together with the account IDs parameter. The parameters are mutually exclusive.
Recommendations for member accounts are not included in the export if this parameter, or the account IDs parameter, is omitted.
includeMemberAccounts
- Indicates whether to include recommendations for resources in all member accounts of the organization if
your account is the master account of an organization.
The member accounts must also be opted in to Compute Optimizer.
Recommendations for member accounts of the organization are not included in the export file if this parameter is omitted.
This parameter cannot be specified together with the account IDs parameter. The parameters are mutually exclusive.
Recommendations for member accounts are not included in the export if this parameter, or the account IDs parameter, is omitted.
public Boolean getIncludeMemberAccounts()
Indicates whether to include recommendations for resources in all member accounts of the organization if your account is the master account of an organization.
The member accounts must also be opted in to Compute Optimizer.
Recommendations for member accounts of the organization are not included in the export file if this parameter is omitted.
This parameter cannot be specified together with the account IDs parameter. The parameters are mutually exclusive.
Recommendations for member accounts are not included in the export if this parameter, or the account IDs parameter, is omitted.
The member accounts must also be opted in to Compute Optimizer.
Recommendations for member accounts of the organization are not included in the export file if this parameter is omitted.
This parameter cannot be specified together with the account IDs parameter. The parameters are mutually exclusive.
Recommendations for member accounts are not included in the export if this parameter, or the account IDs parameter, is omitted.
public ExportAutoScalingGroupRecommendationsRequest withIncludeMemberAccounts(Boolean includeMemberAccounts)
Indicates whether to include recommendations for resources in all member accounts of the organization if your account is the master account of an organization.
The member accounts must also be opted in to Compute Optimizer.
Recommendations for member accounts of the organization are not included in the export file if this parameter is omitted.
This parameter cannot be specified together with the account IDs parameter. The parameters are mutually exclusive.
Recommendations for member accounts are not included in the export if this parameter, or the account IDs parameter, is omitted.
includeMemberAccounts
- Indicates whether to include recommendations for resources in all member accounts of the organization if
your account is the master account of an organization.
The member accounts must also be opted in to Compute Optimizer.
Recommendations for member accounts of the organization are not included in the export file if this parameter is omitted.
This parameter cannot be specified together with the account IDs parameter. The parameters are mutually exclusive.
Recommendations for member accounts are not included in the export if this parameter, or the account IDs parameter, is omitted.
public Boolean isIncludeMemberAccounts()
Indicates whether to include recommendations for resources in all member accounts of the organization if your account is the master account of an organization.
The member accounts must also be opted in to Compute Optimizer.
Recommendations for member accounts of the organization are not included in the export file if this parameter is omitted.
This parameter cannot be specified together with the account IDs parameter. The parameters are mutually exclusive.
Recommendations for member accounts are not included in the export if this parameter, or the account IDs parameter, is omitted.
The member accounts must also be opted in to Compute Optimizer.
Recommendations for member accounts of the organization are not included in the export file if this parameter is omitted.
This parameter cannot be specified together with the account IDs parameter. The parameters are mutually exclusive.
Recommendations for member accounts are not included in the export if this parameter, or the account IDs parameter, is omitted.
public String toString()
toString
in class Object
Object.toString()
public ExportAutoScalingGroupRecommendationsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()