Class ListBackupJobSummariesRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.backup.model.BackupRequest
-
- software.amazon.awssdk.services.backup.model.ListBackupJobSummariesRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListBackupJobSummariesRequest.Builder,ListBackupJobSummariesRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListBackupJobSummariesRequest extends BackupRequest implements ToCopyableBuilder<ListBackupJobSummariesRequest.Builder,ListBackupJobSummariesRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListBackupJobSummariesRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaccountId()Returns the job count for the specified account.AggregationPeriodaggregationPeriod()This is the period that sets the boundaries for returned results.StringaggregationPeriodAsString()This is the period that sets the boundaries for returned results.static ListBackupJobSummariesRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxResults()This parameter sets the maximum number of items to be returned.StringmessageCategory()This parameter returns the job count for the specified message category.StringnextToken()The next item following a partial list of returned resources.StringresourceType()Returns the job count for the specified resource type.List<SdkField<?>>sdkFields()static Class<? extends ListBackupJobSummariesRequest.Builder>serializableBuilderClass()BackupJobStatusstate()This parameter returns the job count for jobs with the specified state.StringstateAsString()This parameter returns the job count for jobs with the specified state.ListBackupJobSummariesRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
accountId
public final 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.- Returns:
- 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.
-
state
public final 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
If the service returns an enum value that is not available in the current SDK version,
statewill returnBackupJobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- 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
- See Also:
BackupJobStatus
-
stateAsString
public final String stateAsString()
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
If the service returns an enum value that is not available in the current SDK version,
statewill returnBackupJobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- 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
- See Also:
BackupJobStatus
-
resourceType
public final 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.
- Returns:
- 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.
-
messageCategory
public final 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.- Returns:
- 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.
-
aggregationPeriod
public final 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.
If the service returns an enum value that is not available in the current SDK version,
aggregationPeriodwill returnAggregationPeriod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromaggregationPeriodAsString().- Returns:
- 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.
-
- See Also:
AggregationPeriod
-
-
aggregationPeriodAsString
public final String aggregationPeriodAsString()
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.
If the service returns an enum value that is not available in the current SDK version,
aggregationPeriodwill returnAggregationPeriod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromaggregationPeriodAsString().- Returns:
- 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.
-
- See Also:
AggregationPeriod
-
-
maxResults
public final 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.
- Returns:
- 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.
-
nextToken
public final 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.- Returns:
- 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.
-
toBuilder
public ListBackupJobSummariesRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListBackupJobSummariesRequest.Builder,ListBackupJobSummariesRequest>- Specified by:
toBuilderin classBackupRequest
-
builder
public static ListBackupJobSummariesRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListBackupJobSummariesRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-