Interface ListResourceSnapshotJobsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListResourceSnapshotJobsRequest.Builder,ListResourceSnapshotJobsRequest>,PartnerCentralSellingRequest.Builder,SdkBuilder<ListResourceSnapshotJobsRequest.Builder,ListResourceSnapshotJobsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListResourceSnapshotJobsRequest
public static interface ListResourceSnapshotJobsRequest.Builder extends PartnerCentralSellingRequest.Builder, SdkPojo, CopyableBuilder<ListResourceSnapshotJobsRequest.Builder,ListResourceSnapshotJobsRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.partnercentralselling.model.PartnerCentralSellingRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
catalog
ListResourceSnapshotJobsRequest.Builder catalog(String catalog)
Specifies the catalog related to the request.
- Parameters:
catalog- Specifies the catalog related to the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engagementIdentifier
ListResourceSnapshotJobsRequest.Builder engagementIdentifier(String engagementIdentifier)
The identifier of the engagement to filter the response.
- Parameters:
engagementIdentifier- The identifier of the engagement to filter the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
ListResourceSnapshotJobsRequest.Builder maxResults(Integer maxResults)
The maximum number of results to return in a single call. If omitted, defaults to 50.
- Parameters:
maxResults- The maximum number of results to return in a single call. If omitted, defaults to 50.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
ListResourceSnapshotJobsRequest.Builder nextToken(String nextToken)
The token for the next set of results.
- Parameters:
nextToken- The token for the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sort
ListResourceSnapshotJobsRequest.Builder sort(SortObject sort)
Configures the sorting of the response. If omitted, results are sorted by
CreatedDatein descending order.- Parameters:
sort- Configures the sorting of the response. If omitted, results are sorted byCreatedDatein descending order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sort
default ListResourceSnapshotJobsRequest.Builder sort(Consumer<SortObject.Builder> sort)
Configures the sorting of the response. If omitted, results are sorted by
This is a convenience method that creates an instance of theCreatedDatein descending order.SortObject.Builderavoiding the need to create one manually viaSortObject.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosort(SortObject).- Parameters:
sort- a consumer that will call methods onSortObject.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
sort(SortObject)
-
status
ListResourceSnapshotJobsRequest.Builder status(String status)
The status of the jobs to filter the response.
- Parameters:
status- The status of the jobs to filter the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResourceSnapshotJobStatus,ResourceSnapshotJobStatus
-
status
ListResourceSnapshotJobsRequest.Builder status(ResourceSnapshotJobStatus status)
The status of the jobs to filter the response.
- Parameters:
status- The status of the jobs to filter the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResourceSnapshotJobStatus,ResourceSnapshotJobStatus
-
overrideConfiguration
ListResourceSnapshotJobsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListResourceSnapshotJobsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-