Interface AgentEnforcedPolicyError.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AgentEnforcedPolicyError.Builder,,AgentEnforcedPolicyError> SdkBuilder<AgentEnforcedPolicyError.Builder,,AgentEnforcedPolicyError> SdkPojo
- Enclosing class:
AgentEnforcedPolicyError
@Mutable
@NotThreadSafe
public static interface AgentEnforcedPolicyError.Builder
extends SdkPojo, CopyableBuilder<AgentEnforcedPolicyError.Builder,AgentEnforcedPolicyError>
-
Method Summary
Modifier and TypeMethodDescriptionThe reason that the service couldn't return the item.errorCode(AgentEnforcedPolicyErrorCode errorCode) The reason that the service couldn't return the item.A description of the error.The identifier of the policy.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
-
policyId
The identifier of the policy.
- Parameters:
policyId- The identifier of the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorCode
The reason that the service couldn't return the item.
NOT_FOUNDindicates that the item doesn't exist or isn't available to your account.- Parameters:
errorCode- The reason that the service couldn't return the item.NOT_FOUNDindicates that the item doesn't exist or isn't available to your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errorCode
The reason that the service couldn't return the item.
NOT_FOUNDindicates that the item doesn't exist or isn't available to your account.- Parameters:
errorCode- The reason that the service couldn't return the item.NOT_FOUNDindicates that the item doesn't exist or isn't available to your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
message
A description of the error.
- Parameters:
message- A description of the error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-