Interface CreateWorkloadRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateWorkloadRequest.Builder,
,CreateWorkloadRequest> SdkBuilder<CreateWorkloadRequest.Builder,
,CreateWorkloadRequest> SdkPojo
,SdkRequest.Builder
,WellArchitectedRequest.Builder
- Enclosing class:
CreateWorkloadRequest
-
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 associated to the workload.applications
(Collection<String> applications) List of AppRegistry application ARNs associated 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.clientRequestToken
(String clientRequestToken) Sets the value of the ClientRequestToken property for this object.description
(String description) Sets the value of the Description property for this object.default CreateWorkloadRequest.Builder
discoveryConfig
(Consumer<WorkloadDiscoveryConfig.Builder> discoveryConfig) Well-Architected discovery configuration settings associated to the workload.discoveryConfig
(WorkloadDiscoveryConfig discoveryConfig) Well-Architected discovery configuration settings associated 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.Sets the value of the Industry property for this object.industryType
(String industryType) Sets the value of the IndustryType property for this object.default CreateWorkloadRequest.Builder
jiraConfiguration
(Consumer<WorkloadJiraConfigurationInput.Builder> jiraConfiguration) Jira configuration settings when creating a workload.jiraConfiguration
(WorkloadJiraConfigurationInput jiraConfiguration) Jira configuration settings when creating a workload.Sets the value of the Lenses property for this object.lenses
(Collection<String> lenses) Sets the value of the Lenses property for this object.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.profileArns
(String... profileArns) The list of profile ARNs associated with the workload.profileArns
(Collection<String> profileArns) The list of profile ARNs associated with the workload.reviewOwner
(String reviewOwner) Sets the value of the ReviewOwner property for this object.reviewTemplateArns
(String... reviewTemplateArns) The list of review template ARNs to associate with the workload.reviewTemplateArns
(Collection<String> reviewTemplateArns) The list of review template ARNs to associate with the workload.The tags to be associated with the workload.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
-
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.
-
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
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
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 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 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
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
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
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
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
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
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 theWorkloadJiraConfigurationInput.Builder
avoiding the need to create one manually viaWorkloadJiraConfigurationInput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tojiraConfiguration(WorkloadJiraConfigurationInput)
.- Parameters:
jiraConfiguration
- a consumer that will call methods onWorkloadJiraConfigurationInput.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 interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateWorkloadRequest.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.
-