Interface UpdateWorkloadRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateWorkloadRequest.Builder,
,UpdateWorkloadRequest> SdkBuilder<UpdateWorkloadRequest.Builder,
,UpdateWorkloadRequest> SdkPojo
,SdkRequest.Builder
,WellArchitectedRequest.Builder
- Enclosing class:
UpdateWorkloadRequest
-
Method Summary
Modifier and TypeMethodDescriptionaccountIds
(String... accountIds) Sets the value of the AccountIds property for this object.accountIds
(Collection<String> accountIds) Sets the value of the AccountIds property for this object.applications
(String... applications) List of AppRegistry application ARNs to associate to the workload.applications
(Collection<String> applications) List of AppRegistry application ARNs to associate to the workload.architecturalDesign
(String architecturalDesign) Sets the value of the ArchitecturalDesign property for this object.awsRegions
(String... awsRegions) Sets the value of the AwsRegions property for this object.awsRegions
(Collection<String> awsRegions) Sets the value of the AwsRegions property for this object.description
(String description) Sets the value of the Description property for this object.default UpdateWorkloadRequest.Builder
discoveryConfig
(Consumer<WorkloadDiscoveryConfig.Builder> discoveryConfig) Well-Architected discovery configuration settings to associate to the workload.discoveryConfig
(WorkloadDiscoveryConfig discoveryConfig) Well-Architected discovery configuration settings to associate to the workload.environment
(String environment) Sets the value of the Environment property for this object.environment
(WorkloadEnvironment environment) Sets the value of the Environment property for this object.improvementStatus
(String improvementStatus) Sets the value of the ImprovementStatus property for this object.improvementStatus
(WorkloadImprovementStatus improvementStatus) Sets the value of the ImprovementStatus property for this object.Sets the value of the Industry property for this object.industryType
(String industryType) Sets the value of the IndustryType property for this object.isReviewOwnerUpdateAcknowledged
(Boolean isReviewOwnerUpdateAcknowledged) Flag indicating whether the workload owner has acknowledged that the Review owner field is required.nonAwsRegions
(String... nonAwsRegions) Sets the value of the NonAwsRegions property for this object.nonAwsRegions
(Collection<String> nonAwsRegions) Sets the value of the NonAwsRegions property for this object.Sets the value of the Notes property for this object.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.pillarPriorities
(String... pillarPriorities) Sets the value of the PillarPriorities property for this object.pillarPriorities
(Collection<String> pillarPriorities) Sets the value of the PillarPriorities property for this object.reviewOwner
(String reviewOwner) Sets the value of the ReviewOwner property for this object.workloadId
(String workloadId) Sets the value of the WorkloadId property for this object.workloadName
(String workloadName) Sets the value of the WorkloadName property for this object.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.services.wellarchitected.model.WellArchitectedRequest.Builder
build
-
Method Details
-
workloadId
Sets the value of the WorkloadId property for this object.- Parameters:
workloadId
- The new value for the WorkloadId property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workloadName
Sets the value of the WorkloadName property for this object.- Parameters:
workloadName
- The new value for the WorkloadName property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
Sets the value of the Description property for this object.- Parameters:
description
- The new value for the Description property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environment
Sets the value of the Environment property for this object.- Parameters:
environment
- The new value for the Environment property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
environment
Sets the value of the Environment property for this object.- Parameters:
environment
- The new value for the Environment property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
accountIds
Sets the value of the AccountIds property for this object.- Parameters:
accountIds
- The new value for the AccountIds property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountIds
Sets the value of the AccountIds property for this object.- Parameters:
accountIds
- The new value for the AccountIds property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsRegions
Sets the value of the AwsRegions property for this object.- Parameters:
awsRegions
- The new value for the AwsRegions property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsRegions
Sets the value of the AwsRegions property for this object.- Parameters:
awsRegions
- The new value for the AwsRegions property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nonAwsRegions
Sets the value of the NonAwsRegions property for this object.- Parameters:
nonAwsRegions
- The new value for the NonAwsRegions property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nonAwsRegions
Sets the value of the NonAwsRegions property for this object.- Parameters:
nonAwsRegions
- The new value for the NonAwsRegions property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pillarPriorities
Sets the value of the PillarPriorities property for this object.- Parameters:
pillarPriorities
- The new value for the PillarPriorities property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pillarPriorities
Sets the value of the PillarPriorities property for this object.- Parameters:
pillarPriorities
- The new value for the PillarPriorities property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
architecturalDesign
Sets the value of the ArchitecturalDesign property for this object.- Parameters:
architecturalDesign
- The new value for the ArchitecturalDesign property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reviewOwner
Sets the value of the ReviewOwner property for this object.- Parameters:
reviewOwner
- The new value for the ReviewOwner property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isReviewOwnerUpdateAcknowledged
UpdateWorkloadRequest.Builder isReviewOwnerUpdateAcknowledged(Boolean isReviewOwnerUpdateAcknowledged) Flag indicating whether the workload owner has acknowledged that the Review owner field is required.
If a Review owner is not added to the workload within 60 days of acknowledgement, access to the workload is restricted until an owner is added.
- Parameters:
isReviewOwnerUpdateAcknowledged
- Flag indicating whether the workload owner has acknowledged that the Review owner field is required.If a Review owner is not added to the workload within 60 days of acknowledgement, access to the workload is restricted until an owner is added.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
industryType
Sets the value of the IndustryType property for this object.- Parameters:
industryType
- The new value for the IndustryType property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
industry
Sets the value of the Industry property for this object.- Parameters:
industry
- The new value for the Industry property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notes
Sets the value of the Notes property for this object.- Parameters:
notes
- The new value for the Notes property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
improvementStatus
Sets the value of the ImprovementStatus property for this object.- Parameters:
improvementStatus
- The new value for the ImprovementStatus property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
improvementStatus
Sets the value of the ImprovementStatus property for this object.- Parameters:
improvementStatus
- The new value for the ImprovementStatus property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
discoveryConfig
Well-Architected discovery configuration settings to associate to the workload.
- Parameters:
discoveryConfig
- Well-Architected discovery configuration settings to associate to the workload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
discoveryConfig
default UpdateWorkloadRequest.Builder discoveryConfig(Consumer<WorkloadDiscoveryConfig.Builder> discoveryConfig) Well-Architected discovery configuration settings to associate to the workload.
This is a convenience method that creates an instance of theWorkloadDiscoveryConfig.Builder
avoiding the need to create one manually viaWorkloadDiscoveryConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todiscoveryConfig(WorkloadDiscoveryConfig)
.- Parameters:
discoveryConfig
- a consumer that will call methods onWorkloadDiscoveryConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
applications
List of AppRegistry application ARNs to associate to the workload.
- Parameters:
applications
- List of AppRegistry application ARNs to associate to the workload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applications
List of AppRegistry application ARNs to associate to the workload.
- Parameters:
applications
- List of AppRegistry application ARNs to associate to the workload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateWorkloadRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateWorkloadRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-