Interface AppComponentCompliance.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AppComponentCompliance.Builder,
,AppComponentCompliance> SdkBuilder<AppComponentCompliance.Builder,
,AppComponentCompliance> SdkPojo
- Enclosing class:
AppComponentCompliance
public static interface AppComponentCompliance.Builder
extends SdkPojo, CopyableBuilder<AppComponentCompliance.Builder,AppComponentCompliance>
-
Method Summary
Modifier and TypeMethodDescriptionappComponentName
(String appComponentName) Name of the Application Component.compliance
(Map<DisruptionType, DisruptionCompliance> compliance) The compliance of the Application Component against the resiliency policy.complianceWithStrings
(Map<String, DisruptionCompliance> compliance) The compliance of the Application Component against the resiliency policy.default AppComponentCompliance.Builder
cost
(Consumer<Cost.Builder> cost) The cost for the application.The cost for the application.The compliance message.default AppComponentCompliance.Builder
resiliencyScore
(Consumer<ResiliencyScore.Builder> resiliencyScore) The current resiliency score for the application.resiliencyScore
(ResiliencyScore resiliencyScore) The current resiliency score for the application.Status of the action.status
(ComplianceStatus status) Status of the action.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
-
appComponentName
Name of the Application Component.
- Parameters:
appComponentName
- Name of the Application Component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
complianceWithStrings
The compliance of the Application Component against the resiliency policy.
- Parameters:
compliance
- The compliance of the Application Component against the resiliency policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compliance
The compliance of the Application Component against the resiliency policy.
- Parameters:
compliance
- The compliance of the Application Component against the resiliency policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cost
The cost for the application.
- Parameters:
cost
- The cost for the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cost
The cost for the application.
This is a convenience method that creates an instance of theCost.Builder
avoiding the need to create one manually viaCost.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocost(Cost)
.- Parameters:
cost
- a consumer that will call methods onCost.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
message
The compliance message.
- Parameters:
message
- The compliance message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resiliencyScore
The current resiliency score for the application.
- Parameters:
resiliencyScore
- The current resiliency score for the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resiliencyScore
default AppComponentCompliance.Builder resiliencyScore(Consumer<ResiliencyScore.Builder> resiliencyScore) The current resiliency score for the application.
This is a convenience method that creates an instance of theResiliencyScore.Builder
avoiding the need to create one manually viaResiliencyScore.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresiliencyScore(ResiliencyScore)
.- Parameters:
resiliencyScore
- a consumer that will call methods onResiliencyScore.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
Status of the action.
- Parameters:
status
- Status of the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
Status of the action.
- Parameters:
status
- Status of the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-