Interface WorkloadData.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<WorkloadData.Builder,,WorkloadData> SdkBuilder<WorkloadData.Builder,,WorkloadData> SdkPojo
- Enclosing class:
WorkloadData
-
Method Summary
Modifier and TypeMethodDescriptionaccountConstraints(Collection<AccountConstraint> accountConstraints) Optional list of constraints describing what kind of AWS account is allowed to deploy this workload or deployment pattern.accountConstraints(Consumer<AccountConstraint.Builder>... accountConstraints) Optional list of constraints describing what kind of AWS account is allowed to deploy this workload or deployment pattern.accountConstraints(AccountConstraint... accountConstraints) Optional list of constraints describing what kind of AWS account is allowed to deploy this workload or deployment pattern.description(String description) The description of a workload.displayName(String displayName) The display name of a workload.documentationUrl(String documentationUrl) The URL of a workload document.The URL of a workload icon.The status of a workload.status(WorkloadStatus status) The status of a workload.statusMessage(String statusMessage) The message about a workload's status.workloadName(String workloadName) The name of the workload.Methods 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, sdkFields
-
Method Details
-
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
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
The status of a workload.
You can list deployments in the
DISABLEDstatus.- Parameters:
status- The status of a workload.You can list deployments in the
DISABLEDstatus.- 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
DISABLEDstatus.- Parameters:
status- The status of a workload.You can list deployments in the
DISABLEDstatus.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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 theAccountConstraint.Builderavoiding the need to create one manually viaAccountConstraint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaccountConstraints(List<AccountConstraint>).- Parameters:
accountConstraints- a consumer that will call methods onAccountConstraint.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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
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.
-