public static interface AppComponentCompliance.Builder extends SdkPojo, CopyableBuilder<AppComponentCompliance.Builder,AppComponentCompliance>
| Modifier and Type | Method and Description |
|---|---|
AppComponentCompliance.Builder |
appComponentName(String appComponentName)
The name of the Application Component.
|
AppComponentCompliance.Builder |
compliance(Map<DisruptionType,DisruptionCompliance> compliance)
The compliance of the Application Component against the resiliency policy.
|
AppComponentCompliance.Builder |
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.
|
AppComponentCompliance.Builder |
cost(Cost cost)
The cost for the application.
|
AppComponentCompliance.Builder |
message(String message)
The compliance message.
|
default AppComponentCompliance.Builder |
resiliencyScore(Consumer<ResiliencyScore.Builder> resiliencyScore)
The current resiliency score for the application.
|
AppComponentCompliance.Builder |
resiliencyScore(ResiliencyScore resiliencyScore)
The current resiliency score for the application.
|
AppComponentCompliance.Builder |
status(ComplianceStatus status)
The status of the action.
|
AppComponentCompliance.Builder |
status(String status)
The status of the action.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAppComponentCompliance.Builder appComponentName(String appComponentName)
The name of the Application Component.
appComponentName - The name of the Application Component.AppComponentCompliance.Builder complianceWithStrings(Map<String,DisruptionCompliance> compliance)
The compliance of the Application Component against the resiliency policy.
compliance - The compliance of the Application Component against the resiliency policy.AppComponentCompliance.Builder compliance(Map<DisruptionType,DisruptionCompliance> compliance)
The compliance of the Application Component against the resiliency policy.
compliance - The compliance of the Application Component against the resiliency policy.AppComponentCompliance.Builder cost(Cost cost)
The cost for the application.
cost - The cost for the application.default AppComponentCompliance.Builder cost(Consumer<Cost.Builder> 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 via Cost.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to cost(Cost).
cost - a consumer that will call methods on Cost.Buildercost(Cost)AppComponentCompliance.Builder message(String message)
The compliance message.
message - The compliance message.AppComponentCompliance.Builder resiliencyScore(ResiliencyScore resiliencyScore)
The current resiliency score for the application.
resiliencyScore - The current resiliency score for the application.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 via ResiliencyScore.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to resiliencyScore(ResiliencyScore).
resiliencyScore - a consumer that will call methods on ResiliencyScore.BuilderresiliencyScore(ResiliencyScore)AppComponentCompliance.Builder status(String status)
The status of the action.
status - The status of the action.ComplianceStatus,
ComplianceStatusAppComponentCompliance.Builder status(ComplianceStatus status)
The status of the action.
status - The status of the action.ComplianceStatus,
ComplianceStatusCopyright © 2023. All rights reserved.