Class FlexCostAllocationOperationFailure
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<FlexCostAllocationOperationFailure.Builder,FlexCostAllocationOperationFailure>
Describes a policy, association, or network resource that a Networking Flexible Cost Allocation operation failed to process.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final StringThe code that identifies the type of failure.final StringThe reason for the failure.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe ID of the resource that could not be processed.static Class<? extends FlexCostAllocationOperationFailure.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
resourceId
The ID of the resource that could not be processed.
- Returns:
- The ID of the resource that could not be processed.
-
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:
- 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.
-
-
-
failureReason
The reason for the failure.
- Returns:
- The reason for the failure.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<FlexCostAllocationOperationFailure.Builder,FlexCostAllocationOperationFailure> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
public static Class<? extends FlexCostAllocationOperationFailure.Builder> serializableBuilderClass() -
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-