public static interface Workload.Builder extends SdkPojo, CopyableBuilder<Workload.Builder,Workload>
| Modifier and Type | Method and Description |
|---|---|
Workload.Builder |
accountIds(Collection<String> accountIds)
Sets the value of the AccountIds property for this object.
|
Workload.Builder |
accountIds(String... accountIds)
Sets the value of the AccountIds property for this object.
|
Workload.Builder |
applications(Collection<String> applications)
List of AppRegistry application ARNs associated to the workload.
|
Workload.Builder |
applications(String... applications)
List of AppRegistry application ARNs associated to the workload.
|
Workload.Builder |
architecturalDesign(String architecturalDesign)
Sets the value of the ArchitecturalDesign property for this object.
|
Workload.Builder |
awsRegions(Collection<String> awsRegions)
Sets the value of the AwsRegions property for this object.
|
Workload.Builder |
awsRegions(String... awsRegions)
Sets the value of the AwsRegions property for this object.
|
Workload.Builder |
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.
|
Workload.Builder |
discoveryConfig(WorkloadDiscoveryConfig discoveryConfig)
Discovery configuration associated to the workload.
|
Workload.Builder |
environment(String environment)
Sets the value of the Environment property for this object.
|
Workload.Builder |
environment(WorkloadEnvironment environment)
Sets the value of the Environment property for this object.
|
Workload.Builder |
improvementStatus(String improvementStatus)
Sets the value of the ImprovementStatus property for this object.
|
Workload.Builder |
improvementStatus(WorkloadImprovementStatus improvementStatus)
Sets the value of the ImprovementStatus property for this object.
|
Workload.Builder |
industry(String industry)
Sets the value of the Industry property for this object.
|
Workload.Builder |
industryType(String industryType)
Sets the value of the IndustryType property for this object.
|
Workload.Builder |
isReviewOwnerUpdateAcknowledged(Boolean isReviewOwnerUpdateAcknowledged)
Flag indicating whether the workload owner has acknowledged that the Review owner field is required.
|
Workload.Builder |
lenses(Collection<String> lenses)
Sets the value of the Lenses property for this object.
|
Workload.Builder |
lenses(String... lenses)
Sets the value of the Lenses property for this object.
|
Workload.Builder |
nonAwsRegions(Collection<String> nonAwsRegions)
Sets the value of the NonAwsRegions property for this object.
|
Workload.Builder |
nonAwsRegions(String... nonAwsRegions)
Sets the value of the NonAwsRegions property for this object.
|
Workload.Builder |
notes(String notes)
Sets the value of the Notes property for this object.
|
Workload.Builder |
owner(String owner)
Sets the value of the Owner property for this object.
|
Workload.Builder |
pillarPriorities(Collection<String> pillarPriorities)
Sets the value of the PillarPriorities property for this object.
|
Workload.Builder |
pillarPriorities(String... pillarPriorities)
Sets the value of the PillarPriorities property for this object.
|
Workload.Builder |
prioritizedRiskCounts(Map<Risk,Integer> prioritizedRiskCounts)
Sets the value of the PrioritizedRiskCounts property for this object.
|
Workload.Builder |
prioritizedRiskCountsWithStrings(Map<String,Integer> prioritizedRiskCounts)
Sets the value of the PrioritizedRiskCounts property for this object.
|
Workload.Builder |
profiles(Collection<WorkloadProfile> profiles)
Profile associated with a workload.
|
Workload.Builder |
profiles(Consumer<WorkloadProfile.Builder>... profiles)
Profile associated with a workload.
|
Workload.Builder |
profiles(WorkloadProfile... profiles)
Profile associated with a workload.
|
Workload.Builder |
reviewOwner(String reviewOwner)
Sets the value of the ReviewOwner property for this object.
|
Workload.Builder |
reviewRestrictionDate(Instant reviewRestrictionDate)
Sets the value of the ReviewRestrictionDate property for this object.
|
Workload.Builder |
riskCounts(Map<Risk,Integer> riskCounts)
Sets the value of the RiskCounts property for this object.
|
Workload.Builder |
riskCountsWithStrings(Map<String,Integer> riskCounts)
Sets the value of the RiskCounts property for this object.
|
Workload.Builder |
shareInvitationId(String shareInvitationId)
The ID assigned to the share invitation.
|
Workload.Builder |
tags(Map<String,String> tags)
The tags associated with the workload.
|
Workload.Builder |
updatedAt(Instant updatedAt)
Sets the value of the UpdatedAt property for this object.
|
Workload.Builder |
workloadArn(String workloadArn)
Sets the value of the WorkloadArn property for this object.
|
Workload.Builder |
workloadId(String workloadId)
Sets the value of the WorkloadId property for this object.
|
Workload.Builder |
workloadName(String workloadName)
Sets the value of the WorkloadName property for this object.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildWorkload.Builder workloadId(String workloadId)
workloadId - The new value for the WorkloadId property for this object.Workload.Builder workloadArn(String workloadArn)
workloadArn - The new value for the WorkloadArn property for this object.Workload.Builder workloadName(String workloadName)
workloadName - The new value for the WorkloadName property for this object.Workload.Builder description(String description)
description - The new value for the Description property for this object.Workload.Builder environment(String environment)
environment - The new value for the Environment property for this object.WorkloadEnvironment,
WorkloadEnvironmentWorkload.Builder environment(WorkloadEnvironment environment)
environment - The new value for the Environment property for this object.WorkloadEnvironment,
WorkloadEnvironmentWorkload.Builder updatedAt(Instant updatedAt)
updatedAt - The new value for the UpdatedAt property for this object.Workload.Builder accountIds(Collection<String> accountIds)
accountIds - The new value for the AccountIds property for this object.Workload.Builder accountIds(String... accountIds)
accountIds - The new value for the AccountIds property for this object.Workload.Builder awsRegions(Collection<String> awsRegions)
awsRegions - The new value for the AwsRegions property for this object.Workload.Builder awsRegions(String... awsRegions)
awsRegions - The new value for the AwsRegions property for this object.Workload.Builder nonAwsRegions(Collection<String> nonAwsRegions)
nonAwsRegions - The new value for the NonAwsRegions property for this object.Workload.Builder nonAwsRegions(String... nonAwsRegions)
nonAwsRegions - The new value for the NonAwsRegions property for this object.Workload.Builder architecturalDesign(String architecturalDesign)
architecturalDesign - The new value for the ArchitecturalDesign property for this object.Workload.Builder reviewOwner(String reviewOwner)
reviewOwner - The new value for the ReviewOwner property for this object.Workload.Builder reviewRestrictionDate(Instant reviewRestrictionDate)
reviewRestrictionDate - The new value for the ReviewRestrictionDate property for this object.Workload.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.
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.
Workload.Builder industryType(String industryType)
industryType - The new value for the IndustryType property for this object.Workload.Builder industry(String industry)
industry - The new value for the Industry property for this object.Workload.Builder notes(String notes)
notes - The new value for the Notes property for this object.Workload.Builder improvementStatus(String improvementStatus)
improvementStatus - The new value for the ImprovementStatus property for this object.WorkloadImprovementStatus,
WorkloadImprovementStatusWorkload.Builder improvementStatus(WorkloadImprovementStatus improvementStatus)
improvementStatus - The new value for the ImprovementStatus property for this object.WorkloadImprovementStatus,
WorkloadImprovementStatusWorkload.Builder riskCountsWithStrings(Map<String,Integer> riskCounts)
riskCounts - The new value for the RiskCounts property for this object.Workload.Builder riskCounts(Map<Risk,Integer> riskCounts)
riskCounts - The new value for the RiskCounts property for this object.Workload.Builder pillarPriorities(Collection<String> pillarPriorities)
pillarPriorities - The new value for the PillarPriorities property for this object.Workload.Builder pillarPriorities(String... pillarPriorities)
pillarPriorities - The new value for the PillarPriorities property for this object.Workload.Builder lenses(Collection<String> lenses)
lenses - The new value for the Lenses property for this object.Workload.Builder lenses(String... lenses)
lenses - The new value for the Lenses property for this object.Workload.Builder owner(String owner)
owner - The new value for the Owner property for this object.Workload.Builder shareInvitationId(String shareInvitationId)
The ID assigned to the share invitation.
shareInvitationId - The ID assigned to the share invitation.Workload.Builder tags(Map<String,String> tags)
The tags associated with the workload.
tags - The tags associated with the workload.Workload.Builder discoveryConfig(WorkloadDiscoveryConfig discoveryConfig)
Discovery configuration associated to the workload.
discoveryConfig - Discovery configuration associated to the workload.default Workload.Builder discoveryConfig(Consumer<WorkloadDiscoveryConfig.Builder> 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 via WorkloadDiscoveryConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to discoveryConfig(WorkloadDiscoveryConfig).
discoveryConfig - a consumer that will call methods on WorkloadDiscoveryConfig.BuilderdiscoveryConfig(WorkloadDiscoveryConfig)Workload.Builder applications(Collection<String> applications)
List of AppRegistry application ARNs associated to the workload.
applications - List of AppRegistry application ARNs associated to the workload.Workload.Builder applications(String... applications)
List of AppRegistry application ARNs associated to the workload.
applications - List of AppRegistry application ARNs associated to the workload.Workload.Builder profiles(Collection<WorkloadProfile> profiles)
Profile associated with a workload.
profiles - Profile associated with a workload.Workload.Builder profiles(WorkloadProfile... profiles)
Profile associated with a workload.
profiles - Profile associated with a workload.Workload.Builder profiles(Consumer<WorkloadProfile.Builder>... 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 via
WorkloadProfile.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #profiles(List.
profiles - a consumer that will call methods on
WorkloadProfile.Builder#profiles(java.util.Collection) Workload.Builder prioritizedRiskCountsWithStrings(Map<String,Integer> prioritizedRiskCounts)
prioritizedRiskCounts - The new value for the PrioritizedRiskCounts property for this object.Workload.Builder prioritizedRiskCounts(Map<Risk,Integer> prioritizedRiskCounts)
prioritizedRiskCounts - The new value for the PrioritizedRiskCounts property for this object.Copyright © 2023. All rights reserved.