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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.partnercentralselling.model.PartnerCentralSellingRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.
-
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.
-
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.
-
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:
-
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
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:
-
overrideConfiguration
ListResourceSnapshotJobsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-