Interface FlexCostAllocationOperationFailure.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<FlexCostAllocationOperationFailure.Builder,,FlexCostAllocationOperationFailure> SdkBuilder<FlexCostAllocationOperationFailure.Builder,,FlexCostAllocationOperationFailure> SdkPojo
- Enclosing class:
FlexCostAllocationOperationFailure
-
Method Summary
Modifier and TypeMethodDescriptionfailureCode(String failureCode) The code that identifies the type of failure.failureReason(String failureReason) The reason for the failure.resourceId(String resourceId) The ID of the resource that could not be processed.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
-
resourceId
The ID of the resource that could not be processed.
- Parameters:
resourceId- The ID of the resource that could not be processed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureCode
The code that identifies the type of failure. Possible values are:
-
ResourceNotFound- (DeleteNetworkingFlexCostAllocationPolicies) The policy doesn't exist or isn't owned by your account. -
InvalidResourceState- (DeleteNetworkingFlexCostAllocationPolicies) The policy has active associations. -
InvalidResource- (AssociateNetworkingFlexCostAllocationPolicy) The resource ID is malformed, the resource type doesn't match the policy, or the scope is an account other than yours. (DisassociateNetworkingFlexCostAllocationPolicy) The association doesn't exist or was already removed. -
ResourceAlreadyAssociated- (AssociateNetworkingFlexCostAllocationPolicy) The resource already has an active association. -
InternalError- An internal error occurred. Retry the request.
- Parameters:
failureCode- The code that identifies the type of failure. Possible values are:-
ResourceNotFound- (DeleteNetworkingFlexCostAllocationPolicies) The policy doesn't exist or isn't owned by your account. -
InvalidResourceState- (DeleteNetworkingFlexCostAllocationPolicies) The policy has active associations. -
InvalidResource- (AssociateNetworkingFlexCostAllocationPolicy) The resource ID is malformed, the resource type doesn't match the policy, or the scope is an account other than yours. (DisassociateNetworkingFlexCostAllocationPolicy) The association doesn't exist or was already removed. -
ResourceAlreadyAssociated- (AssociateNetworkingFlexCostAllocationPolicy) The resource already has an active association. -
InternalError- An internal error occurred. Retry the request.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
failureReason
The reason for the failure.
- Parameters:
failureReason- The reason for the failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-