Interface ErrorDetail.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ErrorDetail.Builder,ErrorDetail>, SdkBuilder<ErrorDetail.Builder,ErrorDetail>, SdkPojo
Enclosing class:
ErrorDetail

public static interface ErrorDetail.Builder extends SdkPojo, CopyableBuilder<ErrorDetail.Builder,ErrorDetail>
  • Method Details

    • errorCode

      ErrorDetail.Builder errorCode(String errorCode)

      A brief description of the error.

      • SubnetNotFound: We couldn't find one of the subnets associated with the cluster.

      • SecurityGroupNotFound: We couldn't find one of the security groups associated with the cluster.

      • EniLimitReached: You have reached the elastic network interface limit for your account.

      • IpNotAvailable: A subnet associated with the cluster doesn't have any available IP addresses.

      • AccessDenied: You don't have permissions to perform the specified operation.

      • OperationNotPermitted: The service role associated with the cluster doesn't have the required access permissions for Amazon EKS.

      • VpcIdNotFound: We couldn't find the VPC associated with the cluster.

      Parameters:
      errorCode - A brief description of the error.

      • SubnetNotFound: We couldn't find one of the subnets associated with the cluster.

      • SecurityGroupNotFound: We couldn't find one of the security groups associated with the cluster.

      • EniLimitReached: You have reached the elastic network interface limit for your account.

      • IpNotAvailable: A subnet associated with the cluster doesn't have any available IP addresses.

      • AccessDenied: You don't have permissions to perform the specified operation.

      • OperationNotPermitted: The service role associated with the cluster doesn't have the required access permissions for Amazon EKS.

      • VpcIdNotFound: We couldn't find the VPC associated with the cluster.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • errorCode

      ErrorDetail.Builder errorCode(ErrorCode errorCode)

      A brief description of the error.

      • SubnetNotFound: We couldn't find one of the subnets associated with the cluster.

      • SecurityGroupNotFound: We couldn't find one of the security groups associated with the cluster.

      • EniLimitReached: You have reached the elastic network interface limit for your account.

      • IpNotAvailable: A subnet associated with the cluster doesn't have any available IP addresses.

      • AccessDenied: You don't have permissions to perform the specified operation.

      • OperationNotPermitted: The service role associated with the cluster doesn't have the required access permissions for Amazon EKS.

      • VpcIdNotFound: We couldn't find the VPC associated with the cluster.

      Parameters:
      errorCode - A brief description of the error.

      • SubnetNotFound: We couldn't find one of the subnets associated with the cluster.

      • SecurityGroupNotFound: We couldn't find one of the security groups associated with the cluster.

      • EniLimitReached: You have reached the elastic network interface limit for your account.

      • IpNotAvailable: A subnet associated with the cluster doesn't have any available IP addresses.

      • AccessDenied: You don't have permissions to perform the specified operation.

      • OperationNotPermitted: The service role associated with the cluster doesn't have the required access permissions for Amazon EKS.

      • VpcIdNotFound: We couldn't find the VPC associated with the cluster.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • errorMessage

      ErrorDetail.Builder errorMessage(String errorMessage)

      A more complete description of the error.

      Parameters:
      errorMessage - A more complete description of the error.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceIds

      ErrorDetail.Builder resourceIds(Collection<String> resourceIds)

      An optional field that contains the resource IDs associated with the error.

      Parameters:
      resourceIds - An optional field that contains the resource IDs associated with the error.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceIds

      ErrorDetail.Builder resourceIds(String... resourceIds)

      An optional field that contains the resource IDs associated with the error.

      Parameters:
      resourceIds - An optional field that contains the resource IDs associated with the error.
      Returns:
      Returns a reference to this object so that method calls can be chained together.