Interface ListPlanViolationsResponse.Builder

  • 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 the PlanViolation.Builder avoiding the need to create one manually via PlanViolation.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to violations(List<PlanViolation>).

      Parameters:
      violations - a consumer that will call methods on PlanViolation.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.