Interface ListFailureModeAssessmentsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListFailureModeAssessmentsRequest.Builder,,ListFailureModeAssessmentsRequest> Resiliencehubv2Request.Builder,SdkBuilder<ListFailureModeAssessmentsRequest.Builder,,ListFailureModeAssessmentsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListFailureModeAssessmentsRequest
@Mutable
@NotThreadSafe
public static interface ListFailureModeAssessmentsRequest.Builder
extends Resiliencehubv2Request.Builder, SdkPojo, CopyableBuilder<ListFailureModeAssessmentsRequest.Builder,ListFailureModeAssessmentsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionassessmentStatuses(Collection<AssessmentStatus> assessmentStatuses) Specifies the assessment statuses to include in the results.assessmentStatuses(AssessmentStatus... assessmentStatuses) Specifies the assessment statuses to include in the results.assessmentStatusesWithStrings(String... assessmentStatuses) Specifies the assessment statuses to include in the results.assessmentStatusesWithStrings(Collection<String> assessmentStatuses) Specifies the assessment statuses to include in the results.endedBefore(Instant endedBefore) Specifies that only assessments that ended at or before this timestamp appear in the results.maxResults(Integer maxResults) Sets the value of the MaxResults property for this object.Sets the value of the NextToken property for this object.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.serviceArn(String serviceArn) Sets the value of the ServiceArn property for this object.The field to use for sorting failure mode assessments.sortBy(AssessmentSortField sortBy) The field to use for sorting failure mode assessments.The sort order for results.The sort order for results.startedAfter(Instant startedAfter) Specifies that only assessments that started at or after this timestamp appear in the results.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.resiliencehubv2.model.Resiliencehubv2Request.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
-
serviceArn
Sets the value of the ServiceArn property for this object.- Parameters:
serviceArn- The new value for the ServiceArn property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assessmentStatusesWithStrings
ListFailureModeAssessmentsRequest.Builder assessmentStatusesWithStrings(Collection<String> assessmentStatuses) Specifies the assessment statuses to include in the results.
- Parameters:
assessmentStatuses- Specifies the assessment statuses to include in the results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assessmentStatusesWithStrings
ListFailureModeAssessmentsRequest.Builder assessmentStatusesWithStrings(String... assessmentStatuses) Specifies the assessment statuses to include in the results.
- Parameters:
assessmentStatuses- Specifies the assessment statuses to include in the results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assessmentStatuses
ListFailureModeAssessmentsRequest.Builder assessmentStatuses(Collection<AssessmentStatus> assessmentStatuses) Specifies the assessment statuses to include in the results.
- Parameters:
assessmentStatuses- Specifies the assessment statuses to include in the results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assessmentStatuses
ListFailureModeAssessmentsRequest.Builder assessmentStatuses(AssessmentStatus... assessmentStatuses) Specifies the assessment statuses to include in the results.
- Parameters:
assessmentStatuses- Specifies the assessment statuses to include in the results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startedAfter
Specifies that only assessments that started at or after this timestamp appear in the results.
- Parameters:
startedAfter- Specifies that only assessments that started at or after this timestamp appear in the results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endedBefore
Specifies that only assessments that ended at or before this timestamp appear in the results.
- Parameters:
endedBefore- Specifies that only assessments that ended at or before this timestamp appear in the results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortBy
The field to use for sorting failure mode assessments.
- Parameters:
sortBy- The field to use for sorting failure mode assessments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortBy
The field to use for sorting failure mode assessments.
- Parameters:
sortBy- The field to use for sorting failure mode assessments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortOrder
The sort order for results.
- Parameters:
sortOrder- The sort order for results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortOrder
The sort order for results.
- Parameters:
sortOrder- The sort order for results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxResults
Sets the value of the MaxResults property for this object.- Parameters:
maxResults- The new value for the MaxResults property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
Sets the value of the NextToken property for this object.- Parameters:
nextToken- The new value for the NextToken property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListFailureModeAssessmentsRequest.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
ListFailureModeAssessmentsRequest.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.
-