Interface WorkloadData.Builder

  • Method Details

    • workloadName

      WorkloadData.Builder workloadName(String workloadName)

      The name of the workload.

      Parameters:
      workloadName - The name of the workload.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • displayName

      WorkloadData.Builder displayName(String displayName)

      The display name of a workload.

      Parameters:
      displayName - The display name of a workload.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      WorkloadData.Builder status(String status)

      The status of a workload.

      You can list deployments in the DISABLED status.

      Parameters:
      status - The status of a workload.

      You can list deployments in the DISABLED status.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of a workload.

      You can list deployments in the DISABLED status.

      Parameters:
      status - The status of a workload.

      You can list deployments in the DISABLED status.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • accountConstraints

      WorkloadData.Builder accountConstraints(Collection<AccountConstraint> accountConstraints)

      Optional list of constraints describing what kind of AWS account is allowed to deploy this workload or deployment pattern. Within a single list the semantics are OR: an account satisfies the list if it satisfies any entry. Workload-level and pattern-level lists combine with AND at deployment time. An absent or empty list at this level means no constraint at this level.

      Parameters:
      accountConstraints - Optional list of constraints describing what kind of AWS account is allowed to deploy this workload or deployment pattern. Within a single list the semantics are OR: an account satisfies the list if it satisfies any entry. Workload-level and pattern-level lists combine with AND at deployment time. An absent or empty list at this level means no constraint at this level.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accountConstraints

      WorkloadData.Builder accountConstraints(AccountConstraint... accountConstraints)

      Optional list of constraints describing what kind of AWS account is allowed to deploy this workload or deployment pattern. Within a single list the semantics are OR: an account satisfies the list if it satisfies any entry. Workload-level and pattern-level lists combine with AND at deployment time. An absent or empty list at this level means no constraint at this level.

      Parameters:
      accountConstraints - Optional list of constraints describing what kind of AWS account is allowed to deploy this workload or deployment pattern. Within a single list the semantics are OR: an account satisfies the list if it satisfies any entry. Workload-level and pattern-level lists combine with AND at deployment time. An absent or empty list at this level means no constraint at this level.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accountConstraints

      WorkloadData.Builder accountConstraints(Consumer<AccountConstraint.Builder>... accountConstraints)

      Optional list of constraints describing what kind of AWS account is allowed to deploy this workload or deployment pattern. Within a single list the semantics are OR: an account satisfies the list if it satisfies any entry. Workload-level and pattern-level lists combine with AND at deployment time. An absent or empty list at this level means no constraint at this level.

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

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

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

      WorkloadData.Builder description(String description)

      The description of a workload.

      Parameters:
      description - The description of a workload.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • documentationUrl

      WorkloadData.Builder documentationUrl(String documentationUrl)

      The URL of a workload document.

      Parameters:
      documentationUrl - The URL of a workload document.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • iconUrl

      WorkloadData.Builder iconUrl(String iconUrl)

      The URL of a workload icon.

      Parameters:
      iconUrl - The URL of a workload icon.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statusMessage

      WorkloadData.Builder statusMessage(String statusMessage)

      The message about a workload's status.

      Parameters:
      statusMessage - The message about a workload's status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.