Interface ListResourceSnapshotJobsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListResourceSnapshotJobsRequest.Builder,
,ListResourceSnapshotJobsRequest> PartnerCentralSellingRequest.Builder
,SdkBuilder<ListResourceSnapshotJobsRequest.Builder,
,ListResourceSnapshotJobsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListResourceSnapshotJobsRequest
@Mutable
@NotThreadSafe
public static interface ListResourceSnapshotJobsRequest.Builder
extends PartnerCentralSellingRequest.Builder, SdkPojo, CopyableBuilder<ListResourceSnapshotJobsRequest.Builder,ListResourceSnapshotJobsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies the catalog related to the request.engagementIdentifier
(String engagementIdentifier) The identifier of the engagement to filter the response.maxResults
(Integer maxResults) The maximum number of results to return in a single call.The token for the next set of results.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.sort
(Consumer<SortObject.Builder> sort) Configures the sorting of the response.sort
(SortObject sort) Configures the sorting of the response.The status of the jobs to filter the response.status
(ResourceSnapshotJobStatus status) The status of the jobs to filter the response.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 Details
-
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
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
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
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
Configures the sorting of the response. If omitted, results are sorted by
CreatedDate
in descending order.- Parameters:
sort
- Configures the sorting of the response. If omitted, results are sorted byCreatedDate
in descending order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sort
Configures the sorting of the response. If omitted, results are sorted by
This is a convenience method that creates an instance of theCreatedDate
in descending order.SortObject.Builder
avoiding the need to create one manually viaSortObject.builder()
.When the
Consumer
completes,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:
-
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:
-
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:
-
overrideConfiguration
ListResourceSnapshotJobsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListResourceSnapshotJobsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-