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 Details

    • 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:
    • 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

      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

      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

      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

      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:
    • 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:
    • 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 the WorkloadDiscoveryConfig.Builder avoiding the need to create one manually via WorkloadDiscoveryConfig.builder().

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

      Parameters:
      discoveryConfig - a consumer that will call methods on WorkloadDiscoveryConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.