Interface FlexCostAllocationOperationFailure.Builder

  • 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

      FlexCostAllocationOperationFailure.Builder failureReason(String 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.