Interface ListPlanViolationsResponse.Builder
- All Superinterfaces:
AmplifyGen3Response.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<ListPlanViolationsResponse.Builder,,ListPlanViolationsResponse> SdkBuilder<ListPlanViolationsResponse.Builder,,ListPlanViolationsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListPlanViolationsResponse
@Mutable
@NotThreadSafe
public static interface ListPlanViolationsResponse.Builder
extends AmplifyGen3Response.Builder, SdkPojo, CopyableBuilder<ListPlanViolationsResponse.Builder,ListPlanViolationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA pagination token to retrieve the next page of results.violations(Collection<PlanViolation> violations) The reasons the account's resources do not fit the target plan.violations(Consumer<PlanViolation.Builder>... violations) The reasons the account's resources do not fit the target plan.violations(PlanViolation... violations) The reasons the account's resources do not fit the target plan.Methods inherited from interface software.amazon.awssdk.services.amplifygen3.model.AmplifyGen3Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
violations
The reasons the account's resources do not fit the target plan. Empty when the account fits the target plan
- Parameters:
violations- The reasons the account's resources do not fit the target plan. Empty when the account fits the target plan- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
violations
The reasons the account's resources do not fit the target plan. Empty when the account fits the target plan
- Parameters:
violations- The reasons the account's resources do not fit the target plan. Empty when the account fits the target plan- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
violations
The reasons the account's resources do not fit the target plan. Empty when the account fits the target plan
This is a convenience method that creates an instance of thePlanViolation.Builderavoiding the need to create one manually viaPlanViolation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toviolations(List<PlanViolation>).- Parameters:
violations- a consumer that will call methods onPlanViolation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A pagination token to retrieve the next page of results. Absent on the last page.
- Parameters:
nextToken- A pagination token to retrieve the next page of results. Absent on the last page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-