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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AppComponentCompliance.BuilderappComponentName(String appComponentName)Name of the Application Component.AppComponentCompliance.Buildercompliance(Map<DisruptionType,DisruptionCompliance> compliance)The compliance of the Application Component against the resiliency policy.AppComponentCompliance.BuildercomplianceWithStrings(Map<String,DisruptionCompliance> compliance)The compliance of the Application Component against the resiliency policy.default AppComponentCompliance.Buildercost(Consumer<Cost.Builder> cost)The cost for the application.AppComponentCompliance.Buildercost(Cost cost)The cost for the application.AppComponentCompliance.Buildermessage(String message)The compliance message.default AppComponentCompliance.BuilderresiliencyScore(Consumer<ResiliencyScore.Builder> resiliencyScore)The current resiliency score for the application.AppComponentCompliance.BuilderresiliencyScore(ResiliencyScore resiliencyScore)The current resiliency score for the application.AppComponentCompliance.Builderstatus(String status)Status of the action.AppComponentCompliance.Builderstatus(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 Detail
-
appComponentName
AppComponentCompliance.Builder appComponentName(String 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
AppComponentCompliance.Builder complianceWithStrings(Map<String,DisruptionCompliance> 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.
-
compliance
AppComponentCompliance.Builder compliance(Map<DisruptionType,DisruptionCompliance> 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
AppComponentCompliance.Builder cost(Cost 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
default AppComponentCompliance.Builder cost(Consumer<Cost.Builder> cost)
The cost for the application.
This is a convenience method that creates an instance of theCost.Builderavoiding the need to create one manually viaCost.builder().When the
Consumercompletes,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:
cost(Cost)
-
message
AppComponentCompliance.Builder message(String 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
AppComponentCompliance.Builder resiliencyScore(ResiliencyScore 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.Builderavoiding the need to create one manually viaResiliencyScore.builder().When the
Consumercompletes,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:
resiliencyScore(ResiliencyScore)
-
status
AppComponentCompliance.Builder status(String 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:
ComplianceStatus,ComplianceStatus
-
status
AppComponentCompliance.Builder status(ComplianceStatus 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:
ComplianceStatus,ComplianceStatus
-
-