Interface CreateWorkloadRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<CreateWorkloadRequest.Builder,CreateWorkloadRequest>, SdkBuilder<CreateWorkloadRequest.Builder,CreateWorkloadRequest>, SdkPojo, SdkRequest.Builder, WellArchitectedRequest.Builder
Enclosing class:
CreateWorkloadRequest

public static interface CreateWorkloadRequest.Builder extends WellArchitectedRequest.Builder, SdkPojo, CopyableBuilder<CreateWorkloadRequest.Builder,CreateWorkloadRequest>
  • Method Details

    • workloadName

      CreateWorkloadRequest.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

      CreateWorkloadRequest.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

      CreateWorkloadRequest.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

      CreateWorkloadRequest.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

      CreateWorkloadRequest.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

      CreateWorkloadRequest.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

      CreateWorkloadRequest.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

      CreateWorkloadRequest.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

      CreateWorkloadRequest.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

      CreateWorkloadRequest.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

      CreateWorkloadRequest.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.
    • industryType

      CreateWorkloadRequest.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.
    • lenses

      Sets the value of the Lenses property for this object.
      Parameters:
      lenses - The new value for the Lenses property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lenses

      Sets the value of the Lenses property for this object.
      Parameters:
      lenses - The new value for the Lenses 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.
    • clientRequestToken

      CreateWorkloadRequest.Builder clientRequestToken(String clientRequestToken)
      Sets the value of the ClientRequestToken property for this object.
      Parameters:
      clientRequestToken - The new value for the ClientRequestToken property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags to be associated with the workload.

      Parameters:
      tags - The tags to be associated with the workload.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • discoveryConfig

      CreateWorkloadRequest.Builder discoveryConfig(WorkloadDiscoveryConfig discoveryConfig)

      Well-Architected discovery configuration settings associated to the workload.

      Parameters:
      discoveryConfig - Well-Architected discovery configuration settings associated to the workload.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • discoveryConfig

      default CreateWorkloadRequest.Builder discoveryConfig(Consumer<WorkloadDiscoveryConfig.Builder> discoveryConfig)

      Well-Architected discovery configuration settings associated 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

      CreateWorkloadRequest.Builder applications(Collection<String> applications)

      List of AppRegistry application ARNs associated to the workload.

      Parameters:
      applications - List of AppRegistry application ARNs associated to the workload.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • applications

      CreateWorkloadRequest.Builder applications(String... applications)

      List of AppRegistry application ARNs associated to the workload.

      Parameters:
      applications - List of AppRegistry application ARNs associated to the workload.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • profileArns

      CreateWorkloadRequest.Builder profileArns(Collection<String> profileArns)

      The list of profile ARNs associated with the workload.

      Parameters:
      profileArns - The list of profile ARNs associated with the workload.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • profileArns

      CreateWorkloadRequest.Builder profileArns(String... profileArns)

      The list of profile ARNs associated with the workload.

      Parameters:
      profileArns - The list of profile ARNs associated with the workload.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • reviewTemplateArns

      CreateWorkloadRequest.Builder reviewTemplateArns(Collection<String> reviewTemplateArns)

      The list of review template ARNs to associate with the workload.

      Parameters:
      reviewTemplateArns - The list of review template ARNs to associate with the workload.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • reviewTemplateArns

      CreateWorkloadRequest.Builder reviewTemplateArns(String... reviewTemplateArns)

      The list of review template ARNs to associate with the workload.

      Parameters:
      reviewTemplateArns - The list of review template ARNs to associate with the workload.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • jiraConfiguration

      CreateWorkloadRequest.Builder jiraConfiguration(WorkloadJiraConfigurationInput jiraConfiguration)

      Jira configuration settings when creating a workload.

      Parameters:
      jiraConfiguration - Jira configuration settings when creating a workload.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • jiraConfiguration

      default CreateWorkloadRequest.Builder jiraConfiguration(Consumer<WorkloadJiraConfigurationInput.Builder> jiraConfiguration)

      Jira configuration settings when creating a workload.

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

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

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

      CreateWorkloadRequest.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.