Interface ListBackupJobSummariesRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,BackupRequest.Builder,Buildable,CopyableBuilder<ListBackupJobSummariesRequest.Builder,ListBackupJobSummariesRequest>,SdkBuilder<ListBackupJobSummariesRequest.Builder,ListBackupJobSummariesRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListBackupJobSummariesRequest
public static interface ListBackupJobSummariesRequest.Builder extends BackupRequest.Builder, SdkPojo, CopyableBuilder<ListBackupJobSummariesRequest.Builder,ListBackupJobSummariesRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListBackupJobSummariesRequest.BuilderaccountId(String accountId)Returns the job count for the specified account.ListBackupJobSummariesRequest.BuilderaggregationPeriod(String aggregationPeriod)This is the period that sets the boundaries for returned results.ListBackupJobSummariesRequest.BuilderaggregationPeriod(AggregationPeriod aggregationPeriod)This is the period that sets the boundaries for returned results.ListBackupJobSummariesRequest.BuildermaxResults(Integer maxResults)This parameter sets the maximum number of items to be returned.ListBackupJobSummariesRequest.BuildermessageCategory(String messageCategory)This parameter returns the job count for the specified message category.ListBackupJobSummariesRequest.BuildernextToken(String nextToken)The next item following a partial list of returned resources.ListBackupJobSummariesRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListBackupJobSummariesRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ListBackupJobSummariesRequest.BuilderresourceType(String resourceType)Returns the job count for the specified resource type.ListBackupJobSummariesRequest.Builderstate(String state)This parameter returns the job count for jobs with the specified state.ListBackupJobSummariesRequest.Builderstate(BackupJobStatus state)This parameter returns the job count for jobs with the specified state.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.backup.model.BackupRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
accountId
ListBackupJobSummariesRequest.Builder accountId(String accountId)
Returns the job count for the specified account.
If the request is sent from a member account or an account not part of Amazon Web Services Organizations, jobs within requestor's account will be returned.
Root, admin, and delegated administrator accounts can use the value ANY to return job counts from every account in the organization.
AGGREGATE_ALLaggregates job counts from all accounts within the authenticated organization, then returns the sum.- Parameters:
accountId- Returns the job count for the specified account.If the request is sent from a member account or an account not part of Amazon Web Services Organizations, jobs within requestor's account will be returned.
Root, admin, and delegated administrator accounts can use the value ANY to return job counts from every account in the organization.
AGGREGATE_ALLaggregates job counts from all accounts within the authenticated organization, then returns the sum.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
ListBackupJobSummariesRequest.Builder state(String state)
This parameter returns the job count for jobs with the specified state.
The the value ANY returns count of all states.
AGGREGATE_ALLaggregates job counts for all states and returns the sum.Completed with issuesis a status found only in the Backup console. For API, this status refers to jobs with a state ofCOMPLETEDand aMessageCategorywith a value other thanSUCCESS; that is, the status is completed but comes with a status message. To obtain the job count forCompleted with issues, run two GET requests, and subtract the second, smaller number:GET /audit/backup-job-summaries?AggregationPeriod=FOURTEEN_DAYS&State=COMPLETED
GET /audit/backup-job-summaries?AggregationPeriod=FOURTEEN_DAYS&MessageCategory=SUCCESS&State=COMPLETED
- Parameters:
state- This parameter returns the job count for jobs with the specified state.The the value ANY returns count of all states.
AGGREGATE_ALLaggregates job counts for all states and returns the sum.Completed with issuesis a status found only in the Backup console. For API, this status refers to jobs with a state ofCOMPLETEDand aMessageCategorywith a value other thanSUCCESS; that is, the status is completed but comes with a status message. To obtain the job count forCompleted with issues, run two GET requests, and subtract the second, smaller number:GET /audit/backup-job-summaries?AggregationPeriod=FOURTEEN_DAYS&State=COMPLETED
GET /audit/backup-job-summaries?AggregationPeriod=FOURTEEN_DAYS&MessageCategory=SUCCESS&State= COMPLETED
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
BackupJobStatus,BackupJobStatus
-
state
ListBackupJobSummariesRequest.Builder state(BackupJobStatus state)
This parameter returns the job count for jobs with the specified state.
The the value ANY returns count of all states.
AGGREGATE_ALLaggregates job counts for all states and returns the sum.Completed with issuesis a status found only in the Backup console. For API, this status refers to jobs with a state ofCOMPLETEDand aMessageCategorywith a value other thanSUCCESS; that is, the status is completed but comes with a status message. To obtain the job count forCompleted with issues, run two GET requests, and subtract the second, smaller number:GET /audit/backup-job-summaries?AggregationPeriod=FOURTEEN_DAYS&State=COMPLETED
GET /audit/backup-job-summaries?AggregationPeriod=FOURTEEN_DAYS&MessageCategory=SUCCESS&State=COMPLETED
- Parameters:
state- This parameter returns the job count for jobs with the specified state.The the value ANY returns count of all states.
AGGREGATE_ALLaggregates job counts for all states and returns the sum.Completed with issuesis a status found only in the Backup console. For API, this status refers to jobs with a state ofCOMPLETEDand aMessageCategorywith a value other thanSUCCESS; that is, the status is completed but comes with a status message. To obtain the job count forCompleted with issues, run two GET requests, and subtract the second, smaller number:GET /audit/backup-job-summaries?AggregationPeriod=FOURTEEN_DAYS&State=COMPLETED
GET /audit/backup-job-summaries?AggregationPeriod=FOURTEEN_DAYS&MessageCategory=SUCCESS&State= COMPLETED
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
BackupJobStatus,BackupJobStatus
-
resourceType
ListBackupJobSummariesRequest.Builder resourceType(String resourceType)
Returns the job count for the specified resource type. Use request
GetSupportedResourceTypesto obtain strings for supported resource types.The the value ANY returns count of all resource types.
AGGREGATE_ALLaggregates job counts for all resource types and returns the sum.The type of Amazon Web Services resource to be backed up; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database.
- Parameters:
resourceType- Returns the job count for the specified resource type. Use requestGetSupportedResourceTypesto obtain strings for supported resource types.The the value ANY returns count of all resource types.
AGGREGATE_ALLaggregates job counts for all resource types and returns the sum.The type of Amazon Web Services resource to be backed up; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
messageCategory
ListBackupJobSummariesRequest.Builder messageCategory(String messageCategory)
This parameter returns the job count for the specified message category.
Example accepted strings include
AccessDenied,Success, andInvalidParameters. See Monitoring for a list of accepted MessageCategory strings.The the value ANY returns count of all message categories.
AGGREGATE_ALLaggregates job counts for all message categories and returns the sum.- Parameters:
messageCategory- This parameter returns the job count for the specified message category.Example accepted strings include
AccessDenied,Success, andInvalidParameters. See Monitoring for a list of accepted MessageCategory strings.The the value ANY returns count of all message categories.
AGGREGATE_ALLaggregates job counts for all message categories and returns the sum.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aggregationPeriod
ListBackupJobSummariesRequest.Builder aggregationPeriod(String aggregationPeriod)
This is the period that sets the boundaries for returned results.
Acceptable values include
-
ONE_DAYfor daily job count for the prior 14 days. -
SEVEN_DAYSfor the aggregated job count for the prior 7 days. -
FOURTEEN_DAYSfor aggregated job count for prior 14 days.
- Parameters:
aggregationPeriod- This is the period that sets the boundaries for returned results.Acceptable values include
-
ONE_DAYfor daily job count for the prior 14 days. -
SEVEN_DAYSfor the aggregated job count for the prior 7 days. -
FOURTEEN_DAYSfor aggregated job count for prior 14 days.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AggregationPeriod,AggregationPeriod
-
-
aggregationPeriod
ListBackupJobSummariesRequest.Builder aggregationPeriod(AggregationPeriod aggregationPeriod)
This is the period that sets the boundaries for returned results.
Acceptable values include
-
ONE_DAYfor daily job count for the prior 14 days. -
SEVEN_DAYSfor the aggregated job count for the prior 7 days. -
FOURTEEN_DAYSfor aggregated job count for prior 14 days.
- Parameters:
aggregationPeriod- This is the period that sets the boundaries for returned results.Acceptable values include
-
ONE_DAYfor daily job count for the prior 14 days. -
SEVEN_DAYSfor the aggregated job count for the prior 7 days. -
FOURTEEN_DAYSfor aggregated job count for prior 14 days.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AggregationPeriod,AggregationPeriod
-
-
maxResults
ListBackupJobSummariesRequest.Builder maxResults(Integer maxResults)
This parameter sets the maximum number of items to be returned.
The value is an integer. Range of accepted values is from 1 to 500.
- Parameters:
maxResults- This parameter sets the maximum number of items to be returned.The value is an integer. Range of accepted values is from 1 to 500.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
ListBackupJobSummariesRequest.Builder nextToken(String nextToken)
The next item following a partial list of returned resources. For example, if a request is made to return
MaxResultsnumber of resources,NextTokenallows you to return more items in your list starting at the location pointed to by the next token.- Parameters:
nextToken- The next item following a partial list of returned resources. For example, if a request is made to returnMaxResultsnumber of resources,NextTokenallows you to return more items in your list starting at the location pointed to by the next token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListBackupJobSummariesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListBackupJobSummariesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-