Interface ListAppComponentCompliancesResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<ListAppComponentCompliancesResponse.Builder,ListAppComponentCompliancesResponse>, ResiliencehubResponse.Builder, SdkBuilder<ListAppComponentCompliancesResponse.Builder,ListAppComponentCompliancesResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
ListAppComponentCompliancesResponse

  • Method Details

    • componentCompliances

      The compliances for an Resilience Hub Application Component, returned as an object. This object contains the names of the Application Components, compliances, costs, resiliency scores, outage scores, and more.

      Parameters:
      componentCompliances - The compliances for an Resilience Hub Application Component, returned as an object. This object contains the names of the Application Components, compliances, costs, resiliency scores, outage scores, and more.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • componentCompliances

      ListAppComponentCompliancesResponse.Builder componentCompliances(AppComponentCompliance... componentCompliances)

      The compliances for an Resilience Hub Application Component, returned as an object. This object contains the names of the Application Components, compliances, costs, resiliency scores, outage scores, and more.

      Parameters:
      componentCompliances - The compliances for an Resilience Hub Application Component, returned as an object. This object contains the names of the Application Components, compliances, costs, resiliency scores, outage scores, and more.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • componentCompliances

      The compliances for an Resilience Hub Application Component, returned as an object. This object contains the names of the Application Components, compliances, costs, resiliency scores, outage scores, and more.

      This is a convenience method that creates an instance of the AppComponentCompliance.Builder avoiding the need to create one manually via AppComponentCompliance.builder().

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

      Parameters:
      componentCompliances - a consumer that will call methods on AppComponentCompliance.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • nextToken

      Token for the next set of results, or null if there are no more results.

      Parameters:
      nextToken - Token for the next set of results, or null if there are no more results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.