Interface ServiceSummary.Builder

  • Method Details

    • serviceArn

      ServiceSummary.Builder serviceArn(String 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.
    • name

      Sets the value of the Name property for this object.
      Parameters:
      name - The new value for the Name property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • associatedSystems

      ServiceSummary.Builder associatedSystems(Collection<AssociatedSystem> associatedSystems)

      The systems associated with the service.

      Parameters:
      associatedSystems - The systems associated with the service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • associatedSystems

      ServiceSummary.Builder associatedSystems(AssociatedSystem... associatedSystems)

      The systems associated with the service.

      Parameters:
      associatedSystems - The systems associated with the service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • associatedSystems

      ServiceSummary.Builder associatedSystems(Consumer<AssociatedSystem.Builder>... associatedSystems)

      The systems associated with the service.

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

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

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

      The AWS Regions where the service operates.

      Parameters:
      regions - The AWS Regions where the service operates.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • regions

      ServiceSummary.Builder regions(String... regions)

      The AWS Regions where the service operates.

      Parameters:
      regions - The AWS Regions where the service operates.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policyArn

      ServiceSummary.Builder policyArn(String policyArn)
      Sets the value of the PolicyArn property for this object.
      Parameters:
      policyArn - The new value for the PolicyArn property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • assessmentStatus

      ServiceSummary.Builder assessmentStatus(String assessmentStatus)

      The current assessment status of the service.

      Parameters:
      assessmentStatus - The current assessment status of the service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • assessmentStatus

      ServiceSummary.Builder assessmentStatus(AssessmentStatus assessmentStatus)

      The current assessment status of the service.

      Parameters:
      assessmentStatus - The current assessment status of the service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • openFindingsCount

      ServiceSummary.Builder openFindingsCount(Integer openFindingsCount)

      The number of open findings.

      Parameters:
      openFindingsCount - The number of open findings.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resolvedFindingsCount

      ServiceSummary.Builder resolvedFindingsCount(Integer resolvedFindingsCount)

      The number of resolved findings.

      Parameters:
      resolvedFindingsCount - The number of resolved findings.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dependencyDiscovery

      ServiceSummary.Builder dependencyDiscovery(DependencyDiscoveryConfig dependencyDiscovery)

      The dependency discovery configuration.

      Parameters:
      dependencyDiscovery - The dependency discovery configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dependencyDiscovery

      default ServiceSummary.Builder dependencyDiscovery(Consumer<DependencyDiscoveryConfig.Builder> dependencyDiscovery)

      The dependency discovery configuration.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to dependencyDiscovery(DependencyDiscoveryConfig).

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

      ServiceSummary.Builder achievability(Achievability achievability)

      The achievability status of the service's resilience targets.

      Parameters:
      achievability - The achievability status of the service's resilience targets.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • achievability

      default ServiceSummary.Builder achievability(Consumer<Achievability.Builder> achievability)

      The achievability status of the service's resilience targets.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to achievability(Achievability).

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

      ServiceSummary.Builder organizationId(String organizationId)

      Displayed only if caller has access.

      Parameters:
      organizationId - Displayed only if caller has access.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ouId

      Displayed only if caller has access.

      Parameters:
      ouId - Displayed only if caller has access.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accountId

      ServiceSummary.Builder accountId(String accountId)

      Displayed only if caller has access.

      Parameters:
      accountId - Displayed only if caller has access.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      ServiceSummary.Builder createdAt(Instant createdAt)

      The timestamp when the service was created.

      Parameters:
      createdAt - The timestamp when the service was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedAt

      ServiceSummary.Builder updatedAt(Instant updatedAt)

      The timestamp when the service was last updated.

      Parameters:
      updatedAt - The timestamp when the service was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.