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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateWorkloadRequest.BuilderaccountIds(String... accountIds)Sets the value of the AccountIds property for this object.CreateWorkloadRequest.BuilderaccountIds(Collection<String> accountIds)Sets the value of the AccountIds property for this object.CreateWorkloadRequest.Builderapplications(String... applications)List of AppRegistry application ARNs associated to the workload.CreateWorkloadRequest.Builderapplications(Collection<String> applications)List of AppRegistry application ARNs associated to the workload.CreateWorkloadRequest.BuilderarchitecturalDesign(String architecturalDesign)Sets the value of the ArchitecturalDesign property for this object.CreateWorkloadRequest.BuilderawsRegions(String... awsRegions)Sets the value of the AwsRegions property for this object.CreateWorkloadRequest.BuilderawsRegions(Collection<String> awsRegions)Sets the value of the AwsRegions property for this object.CreateWorkloadRequest.BuilderclientRequestToken(String clientRequestToken)Sets the value of the ClientRequestToken property for this object.CreateWorkloadRequest.Builderdescription(String description)Sets the value of the Description property for this object.default CreateWorkloadRequest.BuilderdiscoveryConfig(Consumer<WorkloadDiscoveryConfig.Builder> discoveryConfig)Well-Architected discovery configuration settings associated to the workload.CreateWorkloadRequest.BuilderdiscoveryConfig(WorkloadDiscoveryConfig discoveryConfig)Well-Architected discovery configuration settings associated to the workload.CreateWorkloadRequest.Builderenvironment(String environment)Sets the value of the Environment property for this object.CreateWorkloadRequest.Builderenvironment(WorkloadEnvironment environment)Sets the value of the Environment property for this object.CreateWorkloadRequest.Builderindustry(String industry)Sets the value of the Industry property for this object.CreateWorkloadRequest.BuilderindustryType(String industryType)Sets the value of the IndustryType property for this object.default CreateWorkloadRequest.BuilderjiraConfiguration(Consumer<WorkloadJiraConfigurationInput.Builder> jiraConfiguration)Jira configuration settings when creating a workload.CreateWorkloadRequest.BuilderjiraConfiguration(WorkloadJiraConfigurationInput jiraConfiguration)Jira configuration settings when creating a workload.CreateWorkloadRequest.Builderlenses(String... lenses)Sets the value of the Lenses property for this object.CreateWorkloadRequest.Builderlenses(Collection<String> lenses)Sets the value of the Lenses property for this object.CreateWorkloadRequest.BuildernonAwsRegions(String... nonAwsRegions)Sets the value of the NonAwsRegions property for this object.CreateWorkloadRequest.BuildernonAwsRegions(Collection<String> nonAwsRegions)Sets the value of the NonAwsRegions property for this object.CreateWorkloadRequest.Buildernotes(String notes)Sets the value of the Notes property for this object.CreateWorkloadRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateWorkloadRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateWorkloadRequest.BuilderpillarPriorities(String... pillarPriorities)Sets the value of the PillarPriorities property for this object.CreateWorkloadRequest.BuilderpillarPriorities(Collection<String> pillarPriorities)Sets the value of the PillarPriorities property for this object.CreateWorkloadRequest.BuilderprofileArns(String... profileArns)The list of profile ARNs associated with the workload.CreateWorkloadRequest.BuilderprofileArns(Collection<String> profileArns)The list of profile ARNs associated with the workload.CreateWorkloadRequest.BuilderreviewOwner(String reviewOwner)Sets the value of the ReviewOwner property for this object.CreateWorkloadRequest.BuilderreviewTemplateArns(String... reviewTemplateArns)The list of review template ARNs to associate with the workload.CreateWorkloadRequest.BuilderreviewTemplateArns(Collection<String> reviewTemplateArns)The list of review template ARNs to associate with the workload.CreateWorkloadRequest.Buildertags(Map<String,String> tags)The tags to be associated with the workload.CreateWorkloadRequest.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
-
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:
WorkloadEnvironment,WorkloadEnvironment
-
environment
CreateWorkloadRequest.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
CreateWorkloadRequest.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
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
CreateWorkloadRequest.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
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
CreateWorkloadRequest.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.
-
lenses
CreateWorkloadRequest.Builder lenses(Collection<String> 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
CreateWorkloadRequest.Builder lenses(String... 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
CreateWorkloadRequest.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.
-
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
CreateWorkloadRequest.Builder tags(Map<String,String> 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 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
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 theWorkloadJiraConfigurationInput.Builderavoiding the need to create one manually viaWorkloadJiraConfigurationInput.builder().When the
Consumercompletes,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:
jiraConfiguration(WorkloadJiraConfigurationInput)
-
overrideConfiguration
CreateWorkloadRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateWorkloadRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-