Interface PlanViolation.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PlanViolation.Builder,,PlanViolation> SdkBuilder<PlanViolation.Builder,,PlanViolation> SdkPojo
- Enclosing class:
PlanViolation
-
Method Summary
Modifier and TypeMethodDescriptionappLimits(Collection<AppLimit> appLimits) The per-app breakdown for a per-app limit that apps exceed under the target plan.appLimits(Consumer<AppLimit.Builder>... appLimits) The per-app breakdown for a per-app limit that apps exceed under the target plan.The per-app breakdown for a per-app limit that apps exceed under the target plan.The code that identifies the type of violation.code(ViolationCode code) The code that identifies the type of violation.A human-readable description of the violation.regionLimits(Collection<RegionLimit> regionLimits) The per-Region breakdown for a limit that the account exceeds under the target plan.regionLimits(Consumer<RegionLimit.Builder>... regionLimits) The per-Region breakdown for a limit that the account exceeds under the target plan.regionLimits(RegionLimit... regionLimits) The per-Region breakdown for a limit that the account exceeds under the target plan.resources(Collection<ViolationResource> resources) The resources the target plan does not support.resources(Consumer<ViolationResource.Builder>... resources) The resources the target plan does not support.resources(ViolationResource... resources) The resources the target plan does not support.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
code
The code that identifies the type of violation.
- Parameters:
code- The code that identifies the type of violation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
code
The code that identifies the type of violation.
- Parameters:
code- The code that identifies the type of violation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
message
A human-readable description of the violation.
- Parameters:
message- A human-readable description of the violation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regionLimits
The per-Region breakdown for a limit that the account exceeds under the target plan.
- Parameters:
regionLimits- The per-Region breakdown for a limit that the account exceeds under the target plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regionLimits
The per-Region breakdown for a limit that the account exceeds under the target plan.
- Parameters:
regionLimits- The per-Region breakdown for a limit that the account exceeds under the target plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regionLimits
The per-Region breakdown for a limit that the account exceeds under the target plan.
This is a convenience method that creates an instance of theRegionLimit.Builderavoiding the need to create one manually viaRegionLimit.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toregionLimits(List<RegionLimit>).- Parameters:
regionLimits- a consumer that will call methods onRegionLimit.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
appLimits
The per-app breakdown for a per-app limit that apps exceed under the target plan.
- Parameters:
appLimits- The per-app breakdown for a per-app limit that apps exceed under the target plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appLimits
The per-app breakdown for a per-app limit that apps exceed under the target plan.
- Parameters:
appLimits- The per-app breakdown for a per-app limit that apps exceed under the target plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appLimits
The per-app breakdown for a per-app limit that apps exceed under the target plan.
This is a convenience method that creates an instance of theAppLimit.Builderavoiding the need to create one manually viaAppLimit.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toappLimits(List<AppLimit>).- Parameters:
appLimits- a consumer that will call methods onAppLimit.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resources
The resources the target plan does not support.
- Parameters:
resources- The resources the target plan does not support.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
The resources the target plan does not support.
- Parameters:
resources- The resources the target plan does not support.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
The resources the target plan does not support.
This is a convenience method that creates an instance of theViolationResource.Builderavoiding the need to create one manually viaViolationResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresources(List<ViolationResource>).- Parameters:
resources- a consumer that will call methods onViolationResource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-