Interface Workload.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Workload.Builder,
,Workload> SdkBuilder<Workload.Builder,
,Workload> SdkPojo
- Enclosing class:
Workload
-
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.description
(String description) Sets the value of the Description property for this object.default Workload.Builder
discoveryConfig
(Consumer<WorkloadDiscoveryConfig.Builder> discoveryConfig) Discovery configuration associated to the workload.discoveryConfig
(WorkloadDiscoveryConfig discoveryConfig) Discovery configuration 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.improvementStatus
(String improvementStatus) Sets the value of the ImprovementStatus property for this object.improvementStatus
(WorkloadImprovementStatus improvementStatus) Sets the value of the ImprovementStatus 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.isReviewOwnerUpdateAcknowledged
(Boolean isReviewOwnerUpdateAcknowledged) Flag indicating whether the workload owner has acknowledged that the Review owner field is required.default Workload.Builder
jiraConfiguration
(Consumer<WorkloadJiraConfigurationOutput.Builder> jiraConfiguration) Jira configuration for a specific workload.jiraConfiguration
(WorkloadJiraConfigurationOutput jiraConfiguration) Jira configuration for a specific 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.Sets the value of the Owner property for this object.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.prioritizedRiskCounts
(Map<Risk, Integer> prioritizedRiskCounts) Sets the value of the PrioritizedRiskCounts property for this object.prioritizedRiskCountsWithStrings
(Map<String, Integer> prioritizedRiskCounts) Sets the value of the PrioritizedRiskCounts property for this object.profiles
(Collection<WorkloadProfile> profiles) Profile associated with a workload.profiles
(Consumer<WorkloadProfile.Builder>... profiles) Profile associated with a workload.profiles
(WorkloadProfile... profiles) Profile associated with a workload.reviewOwner
(String reviewOwner) Sets the value of the ReviewOwner property for this object.reviewRestrictionDate
(Instant reviewRestrictionDate) Sets the value of the ReviewRestrictionDate property for this object.riskCounts
(Map<Risk, Integer> riskCounts) Sets the value of the RiskCounts property for this object.riskCountsWithStrings
(Map<String, Integer> riskCounts) Sets the value of the RiskCounts property for this object.shareInvitationId
(String shareInvitationId) The ID assigned to the share invitation.The tags associated with the workload.Sets the value of the UpdatedAt property for this object.workloadArn
(String workloadArn) Sets the value of the WorkloadArn property for this object.workloadId
(String workloadId) Sets the value of the WorkloadId property for this object.workloadName
(String workloadName) Sets the value of the WorkloadName property for this object.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
-
Method Details
-
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.
-
workloadArn
Sets the value of the WorkloadArn property for this object.- Parameters:
workloadArn
- The new value for the WorkloadArn property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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:
-
updatedAt
Sets the value of the UpdatedAt property for this object.- Parameters:
updatedAt
- The new value for the UpdatedAt 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.
-
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.
-
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.
-
reviewRestrictionDate
Sets the value of the ReviewRestrictionDate property for this object.- Parameters:
reviewRestrictionDate
- The new value for the ReviewRestrictionDate property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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
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
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:
-
riskCountsWithStrings
Sets the value of the RiskCounts property for this object.- Parameters:
riskCounts
- The new value for the RiskCounts property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
riskCounts
Sets the value of the RiskCounts property for this object.- Parameters:
riskCounts
- The new value for the RiskCounts 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.
-
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.
-
owner
Sets the value of the Owner property for this object.- Parameters:
owner
- The new value for the Owner property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags associated with the workload.
- Parameters:
tags
- The tags associated with the workload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
discoveryConfig
Discovery configuration associated to the workload.
- Parameters:
discoveryConfig
- Discovery configuration associated to the workload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
discoveryConfig
Discovery configuration 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.
-
profiles
Profile associated with a workload.
- Parameters:
profiles
- Profile associated with a workload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profiles
Profile associated with a workload.
- Parameters:
profiles
- Profile associated with a workload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profiles
Profile associated with a workload.
This is a convenience method that creates an instance of theWorkloadProfile.Builder
avoiding the need to create one manually viaWorkloadProfile.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprofiles(List<WorkloadProfile>)
.- Parameters:
profiles
- a consumer that will call methods onWorkloadProfile.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
prioritizedRiskCountsWithStrings
Sets the value of the PrioritizedRiskCounts property for this object.- Parameters:
prioritizedRiskCounts
- The new value for the PrioritizedRiskCounts property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
prioritizedRiskCounts
Sets the value of the PrioritizedRiskCounts property for this object.- Parameters:
prioritizedRiskCounts
- The new value for the PrioritizedRiskCounts property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jiraConfiguration
Jira configuration for a specific workload.
- Parameters:
jiraConfiguration
- Jira configuration for a specific workload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jiraConfiguration
default Workload.Builder jiraConfiguration(Consumer<WorkloadJiraConfigurationOutput.Builder> jiraConfiguration) Jira configuration for a specific workload.
This is a convenience method that creates an instance of theWorkloadJiraConfigurationOutput.Builder
avoiding the need to create one manually viaWorkloadJiraConfigurationOutput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tojiraConfiguration(WorkloadJiraConfigurationOutput)
.- Parameters:
jiraConfiguration
- a consumer that will call methods onWorkloadJiraConfigurationOutput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-