Interface UpdateWorkloadRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateWorkloadRequest.Builder,UpdateWorkloadRequest>,SdkBuilder<UpdateWorkloadRequest.Builder,UpdateWorkloadRequest>,SdkPojo,SdkRequest.Builder,WellArchitectedRequest.Builder
- Enclosing class:
- UpdateWorkloadRequest
public static interface UpdateWorkloadRequest.Builder extends WellArchitectedRequest.Builder, SdkPojo, CopyableBuilder<UpdateWorkloadRequest.Builder,UpdateWorkloadRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateWorkloadRequest.BuilderaccountIds(String... accountIds)Sets the value of the AccountIds property for this object.UpdateWorkloadRequest.BuilderaccountIds(Collection<String> accountIds)Sets the value of the AccountIds property for this object.UpdateWorkloadRequest.Builderapplications(String... applications)List of AppRegistry application ARNs to associate to the workload.UpdateWorkloadRequest.Builderapplications(Collection<String> applications)List of AppRegistry application ARNs to associate to the workload.UpdateWorkloadRequest.BuilderarchitecturalDesign(String architecturalDesign)Sets the value of the ArchitecturalDesign property for this object.UpdateWorkloadRequest.BuilderawsRegions(String... awsRegions)Sets the value of the AwsRegions property for this object.UpdateWorkloadRequest.BuilderawsRegions(Collection<String> awsRegions)Sets the value of the AwsRegions property for this object.UpdateWorkloadRequest.Builderdescription(String description)Sets the value of the Description property for this object.default UpdateWorkloadRequest.BuilderdiscoveryConfig(Consumer<WorkloadDiscoveryConfig.Builder> discoveryConfig)Well-Architected discovery configuration settings to associate to the workload.UpdateWorkloadRequest.BuilderdiscoveryConfig(WorkloadDiscoveryConfig discoveryConfig)Well-Architected discovery configuration settings to associate to the workload.UpdateWorkloadRequest.Builderenvironment(String environment)Sets the value of the Environment property for this object.UpdateWorkloadRequest.Builderenvironment(WorkloadEnvironment environment)Sets the value of the Environment property for this object.UpdateWorkloadRequest.BuilderimprovementStatus(String improvementStatus)Sets the value of the ImprovementStatus property for this object.UpdateWorkloadRequest.BuilderimprovementStatus(WorkloadImprovementStatus improvementStatus)Sets the value of the ImprovementStatus property for this object.UpdateWorkloadRequest.Builderindustry(String industry)Sets the value of the Industry property for this object.UpdateWorkloadRequest.BuilderindustryType(String industryType)Sets the value of the IndustryType property for this object.UpdateWorkloadRequest.BuilderisReviewOwnerUpdateAcknowledged(Boolean isReviewOwnerUpdateAcknowledged)Flag indicating whether the workload owner has acknowledged that the Review owner field is required.UpdateWorkloadRequest.BuildernonAwsRegions(String... nonAwsRegions)Sets the value of the NonAwsRegions property for this object.UpdateWorkloadRequest.BuildernonAwsRegions(Collection<String> nonAwsRegions)Sets the value of the NonAwsRegions property for this object.UpdateWorkloadRequest.Buildernotes(String notes)Sets the value of the Notes property for this object.UpdateWorkloadRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateWorkloadRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateWorkloadRequest.BuilderpillarPriorities(String... pillarPriorities)Sets the value of the PillarPriorities property for this object.UpdateWorkloadRequest.BuilderpillarPriorities(Collection<String> pillarPriorities)Sets the value of the PillarPriorities property for this object.UpdateWorkloadRequest.BuilderreviewOwner(String reviewOwner)Sets the value of the ReviewOwner property for this object.UpdateWorkloadRequest.BuilderworkloadId(String workloadId)Sets the value of the WorkloadId property for this object.UpdateWorkloadRequest.BuilderworkloadName(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 Detail
-
workloadId
UpdateWorkloadRequest.Builder workloadId(String 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
UpdateWorkloadRequest.Builder workloadName(String 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
UpdateWorkloadRequest.Builder description(String 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
UpdateWorkloadRequest.Builder environment(String 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:
WorkloadEnvironment,WorkloadEnvironment
-
environment
UpdateWorkloadRequest.Builder environment(WorkloadEnvironment 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:
WorkloadEnvironment,WorkloadEnvironment
-
accountIds
UpdateWorkloadRequest.Builder accountIds(Collection<String> 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
UpdateWorkloadRequest.Builder accountIds(String... 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
UpdateWorkloadRequest.Builder awsRegions(Collection<String> 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
UpdateWorkloadRequest.Builder awsRegions(String... 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
UpdateWorkloadRequest.Builder nonAwsRegions(Collection<String> 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
UpdateWorkloadRequest.Builder nonAwsRegions(String... 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
UpdateWorkloadRequest.Builder pillarPriorities(Collection<String> 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
UpdateWorkloadRequest.Builder pillarPriorities(String... 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
UpdateWorkloadRequest.Builder architecturalDesign(String 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
UpdateWorkloadRequest.Builder reviewOwner(String 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
UpdateWorkloadRequest.Builder industryType(String 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
UpdateWorkloadRequest.Builder industry(String 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
UpdateWorkloadRequest.Builder notes(String 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
UpdateWorkloadRequest.Builder improvementStatus(String 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:
WorkloadImprovementStatus,WorkloadImprovementStatus
-
improvementStatus
UpdateWorkloadRequest.Builder improvementStatus(WorkloadImprovementStatus 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:
WorkloadImprovementStatus,WorkloadImprovementStatus
-
discoveryConfig
UpdateWorkloadRequest.Builder discoveryConfig(WorkloadDiscoveryConfig 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.Builderavoiding the need to create one manually viaWorkloadDiscoveryConfig.builder().When the
Consumercompletes,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:
discoveryConfig(WorkloadDiscoveryConfig)
-
applications
UpdateWorkloadRequest.Builder applications(Collection<String> 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
UpdateWorkloadRequest.Builder applications(String... 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateWorkloadRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-